You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allows a Nuxt project to be generated for static hosting. I'm unsure how dynamic routes will cope with this, but having tested on a new plain Nuxt install it somehow handles dynamic routes, e.g. /pages/blog/_slug.vue
This gets away from the nasty 404.html issue and introduces a nice index.html file instead.
The text was updated successfully, but these errors were encountered:
Also I think a problem we're potentially going to have is that it generates the pages from the pages directory. Currently it's empty as each part of the hub is made up of external modules and plugins that register their own routes and pages.
Maybe there is a way to tell Nuxt to generate those as well, doesn't solve the dynamic issue as you said however.
Using the query string was mentioned before but not sure if this is worth the time and effort as we don't really know how people are deploying. Maybe a set of guides under a "Deployment" heading would be beneficial so we could provide multiple avenues to users.
To allow static hosting, we probably need to include the following in the Nuxt config
This allows a Nuxt project to be generated for static hosting. I'm unsure how dynamic routes will cope with this, but having tested on a new plain Nuxt install it somehow handles dynamic routes, e.g.
/pages/blog/_slug.vue
This gets away from the nasty
404.html
issue and introduces a niceindex.html
file instead.The text was updated successfully, but these errors were encountered: