framework
framework copied to clipboard
Static site generation (SSG) title error
Environment
RootDir: G:/Rifat 00:25:18 Nuxt project info: 00:25:18
- Operating System:
Windows_NT
- Node Version:
v18.12.1
- Nuxt Version:
3.0.0
- Nitro Version:
1.0.0
- Package Manager:
[email protected]
- Builder:
vite
- User Config:
app
,postcss
- Runtime Modules:
-
- Build Modules:
-
Reproduction
- Create a nuxt app
- In the nuxt.config.ts define a title
- In your pages define a title for that specific page.
- Run npx nuxi generate
- Run npm run preview
- You will see that that page has the title that you defined in the nuxt.config.ts instead of that page's title.
Describe the bug
I defined a default title in my nuxt.config.ts file. Then in my pages, I defined titles for each page. So, in the generated static files the title should be the title that I defined in the pages. But it's showing the default title in every page.
Additional context
No response
Logs
No response