chore: update nuxt configuration and add new modules

- Changed compatibility date to '2025-05-06'.
- Added '@nuxtjs/robots' and '@nuxtjs/seo' modules.
- Updated package.json to include new dependencies for robots and SEO modules.
- Removed existing robots.txt file and created a new _robots.txt file.
- Created empty footer and navigation components.
- Added default layout structure with navigation, main content, and footer.
This commit is contained in:
yuanhau 2025-05-06 09:29:13 +08:00
parent fe759b4456
commit 330c92a432
10 changed files with 258 additions and 100 deletions

View file

@ -1,6 +1,9 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
compatibilityDate: '2025-05-06',
devtools: { enabled: true },
modules: ['@nuxt/image']
modules: [
'@nuxt/image',
'@nuxtjs/robots',
'@nuxtjs/seo'
]
})