kissu
How to access the entry.js file ala Vue3?
okay I got it!
Injecting the following into the PHP view indeed does the job.
I have a few errors regarding the router, not the biggest issue + Tailwind does not work. I guess I can fix those.
My primary concern now, is the fact that even if it works it requires some
pnpm generate && pnpm dev
each time to update the modifications on the PHP view.
While the JS dev server HMRs properly.
There's no way to have a proper reload without building the entire app each time? Here is the current config I do have.
Vue can just update the changes and send it down the wire but not Nuxt? 🥺13 replies
Nuxt3 feasible with large amount of pages?
Your pages and their routes will be code-splitted.
https://nuxt.com/docs/getting-started/routing#routing
So, if you have 2 or 4.000.000.000 pages, the speed will be the same.
Bundling may be slower if you want them all static, but the runtime experience will stay the same (fast). 👍🏻
Assuming you're doing this properly and not getting memory leaks from page to page, by using
querySelector
or events listeners for example.3 replies