-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
To allow static hosting, we probably need to include the following in the Nuxt config
// Target (https://go.nuxtjs.dev/config-target)
target: 'static',
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels