feat: 初始化Arctic New One项目基础架构

添加项目基础文件结构,包括:
- 国际化多语言支持
- Tailwind CSS配置
- 自定义布局组件
- 平滑滚动和动画效果
- 自定义光标交互
- 错误页面处理
This commit is contained in:
2026-04-26 19:03:48 +08:00
parent 03ce24e689
commit fc52afda99
16 changed files with 2467 additions and 20 deletions
+28 -2
View File
@@ -2,5 +2,31 @@
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
modules: ['@nuxtjs/i18n']
})
css: ['~/assets/css/tailwind.css'],
modules: [
'@nuxtjs/i18n',
'@nuxt/hints',
'@nuxt/icon',
'@nuxtjs/tailwindcss',
'@pinia/nuxt'
],
tailwindcss: {
exposeConfig: true,
viewer: true,
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
i18n: {
locales: [
{ code: 'zh', name: '中文', language: 'zh-CN', file: 'zh.json' },
{ code: 'en', name: 'English', language: 'en-US', file: 'en.json' },
],
defaultLocale: 'zh',
strategy: 'no_prefix',
detectBrowserLanguage: false,
},
})