-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
36 lines (35 loc) · 935 Bytes
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
title: "chat-appstore",
app: {
head: {
title: "应用市场",
meta: [{ name: "description", content: "应用市场" }],
link: [
// { rel: "stylesheet", href: "//unpkg.com/element-plus/dist/index.css" }
],
script: [
// { src: "//unpkg.com/vue@3", tagPosition: "bodyClose" },
// { src: "//unpkg.com/element-plus", tagPosition: "bodyClose" }
]
},
baseURL: process.env.NUXT_APP_BASE_URL,
// baseURL: "/chat-appstore/",
buildAssetsDir: "/_nuxt/"
},
devServer: {
host: "loc.csdn.net",
port: 3000
},
css: ["@/assets/css/elementui.scss"],
imports: {
autoImport: true
},
modules: ["@nuxtjs/tailwindcss", "@pinia/nuxt", "@nuxt/content"],
tailwindcss: {
cssPath: "@/assets/css/tailwind.css"
},
elementPlus: {
/** Options */
}
});