ui: 基本框架
This commit is contained in:
@@ -1,11 +1,24 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
devtools: { enabled: true },
|
||||
modules: [
|
||||
'@nuxt/ui',
|
||||
'radix-vue/nuxt'
|
||||
],
|
||||
devtools: {enabled: true},
|
||||
modules: [
|
||||
'@nuxt/ui',
|
||||
'radix-vue/nuxt',
|
||||
'dayjs-nuxt',
|
||||
"@pinia/nuxt",
|
||||
"@pinia-plugin-persistedstate/nuxt",
|
||||
"@vite-pwa/nuxt"
|
||||
],
|
||||
ui: {
|
||||
icons: ['tabler', 'solar', 'line-md', 'svg-spinners']
|
||||
},
|
||||
colorMode: {
|
||||
preference: 'dark'
|
||||
preference: 'dark'
|
||||
},
|
||||
dayjs: {
|
||||
locales: ['zh', 'en'],
|
||||
plugins: ['relativeTime', 'utc', 'timezone'],
|
||||
defaultLocale: 'zh',
|
||||
defaultTimezone: 'Asia/Shanghai',
|
||||
}
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user