feat: add nuxt-zero-js
This saves us one step in the build process although doesn't fix the root problem.
This commit is contained in:
@@ -4,13 +4,9 @@ After hand-written HTML and a static site generator comes Nuxt!
|
||||
|
||||
**WARN: Volar 0.40.0 breaks all type-checking and I don't know why — stick with Volar 0.39.5.**
|
||||
|
||||
**WARN: Nuxt 3 is too new that prerendering actually renders a ton of JS and causes blinking — remove all `Prose*.mjs` to stop it**
|
||||
|
||||
Post-build instructions (while prerendering is bork)
|
||||
|
||||
- Strip all <script /> tags in every HTML file
|
||||
- Compile `/script.ts` to `/script.js` (`tsc script.ts -m esnext -t esnext --moduleReslution node`)
|
||||
- Remove `/api` and `/_nuxt/*.mjs`
|
||||
|
||||
Look at the [nuxt 3 documentation](https://v3.nuxtjs.org) to learn more.
|
||||
|
||||
|
Reference in New Issue
Block a user