© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
index.html not created when running npm run generate - Nuxt
N
Nuxt
•
5mo ago
•
3 replies
diez
index.html not created when running npm run generate
/
/
https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig
(
{
compatibilityDate
:
'2025
-07
-15
'
,
devtools
:
{ enabled
: true
}
,
srcDir
:
'
.
/app
'
,
app
:
{
baseURL
:
'
/testing
'
,
buildAssetsDir
:
'
/
_nuxt
/
'
,
head
:
{
title
:
'biostickies
– Gesunde Bio
-Leckerlis
'
,
meta
:
[
{ name
:
'description
'
, content
:
'Zertifizierte Bio
-Pferdeleckerlis ohne Melasse und Getreide
, ohne Zuckerzusatz
. Perfekt f
ürs Training
, als Belohnung und gesunder Snack f
ür zwischendurch
.
'
}
,
]
,
}
,
}
,
/
/ Enable error page handling
ssr
: true
,
nitro
:
{
experimental
:
{
wasm
: true
}
,
routeRules
:
{
'
/testing
/
'
:
{ ssr
: true
}
,
'
/
'
:
{ prerender
: false
}
}
,
publicAssets
:
[
{
baseURL
:
'
/testing
/
_nuxt
/
'
,
dir
:
'public
'
}
]
}
,
router
:
{
options
:
{
strict
: false
}
}
,
modules
:
[
'
@nuxt
/icon
'
]
}
)
I do not understand why this is happening
, npm run build also doesn
't generate the static file
Recent Announcements
Similar Threads
index.html not generated on npm run generate
N
Nuxt / ❓・help
4y ago
Page not found : /false on npm run generate
N
Nuxt / ❓・help
2y ago
index.html cannot load js files when i generate page with nuxi generate
N
Nuxt / ❓・help
2y ago