Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nuekit.js #257

Open
wants to merge 22 commits into
base: dev
Choose a base branch
from
Open

Update nuekit.js #257

wants to merge 22 commits into from

Conversation

yuhengliang
Copy link

auto generate manifest.json file
If you want to use a traditional backend (such as Rails, Laravel) to serve HTML for Nuekit, similar to the Vite manifest. json file.

1、in site.yaml append:
manifest: true

2、in nuekit.js insert line 115:
data.manifest && await write(JSON.stringify(data, null, '\t'), '', 'manifest.json')

@nobkd nobkd requested a review from tipiirai April 9, 2024 13:10
@tipiirai
Copy link
Contributor

Thanks!

I'm not familiar with Rails or Lavarel, so I fail to understand how these would work with Nue. Is manifest.json all you need for the integration? Why not create that manually?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants