NuxtN
Nuxt11mo ago
38 replies
rasa

generate static site

I have a small problem: I created a site with Nuxt 3 by simply adding a pages/index.vue page containing an H1. When I launch the development server with npm run dev, everything works fine. However, after running npm run generate (with target: static) and opening the generated HTML page, nothing is displayed. Could you help me?
Was this page helpful?