33 lines
543 B
TypeScript
33 lines
543 B
TypeScript
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
devtools: { enabled: true },
|
|
css: [
|
|
'./app/assets/css/main.css'
|
|
],
|
|
vite:{
|
|
plugins:[
|
|
tailwindcss()
|
|
]
|
|
},
|
|
modules: [
|
|
'@nuxt/ui',
|
|
'motion-v/nuxt',
|
|
],
|
|
// 字体
|
|
fonts:{
|
|
// 切换google 字体源
|
|
provider: 'bunny'
|
|
},
|
|
router:{
|
|
// 默认路由模式
|
|
// options:{
|
|
// hashMode: true
|
|
// }
|
|
},
|
|
ssr:false
|
|
})
|