48 lines
891 B
TypeScript
48 lines
891 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: "2024-11-01",
|
|
devtools: { enabled: true },
|
|
ssr: false,
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
baseURL: "https://service5.fenshenzhike.com:1219/",
|
|
},
|
|
},
|
|
|
|
modules: [
|
|
"@nuxt/eslint",
|
|
"@nuxt/icon",
|
|
"@nuxt/fonts",
|
|
"@nuxt/image",
|
|
"@nuxt/test-utils",
|
|
"@nuxtjs/tailwindcss",
|
|
"shadcn-nuxt",
|
|
"@nuxtjs/color-mode",
|
|
"@pinia/nuxt",
|
|
"pinia-plugin-persistedstate",
|
|
"dayjs-nuxt",
|
|
"@formkit/auto-animate",
|
|
"@vueuse/nuxt",
|
|
],
|
|
|
|
icon: {
|
|
mode: "svg",
|
|
},
|
|
|
|
colorMode: {
|
|
classSuffix: "",
|
|
},
|
|
|
|
shadcn: {
|
|
/**
|
|
* Prefix for all the imported component
|
|
*/
|
|
prefix: "",
|
|
/**
|
|
* Directory that the component lives in.
|
|
* @default "./components/ui"
|
|
*/
|
|
componentDir: "./components/ui",
|
|
},
|
|
}); |