Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
index.html not created when running npm run generate - Nuxt
N
Nuxt
•
4mo 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
Nuxt
Join
Nuxt Community Chat Server
31,817
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
index.html not generated on npm run generate
N
Nuxt / ❓・help
3y ago
Page not found : /false on npm run generate
N
Nuxt / ❓・help
2y ago
code being executed when running npm run build
N
Nuxt / ❓・help
9mo ago