-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
40 lines (38 loc) · 1.04 KB
/
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
37
38
39
40
import {defineNuxtConfig} from 'nuxt'
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
ssr: true,
app: {
baseURL: "/",
buildAssetsDir: "/_nuxt/",
head: {
"charset": "utf-8",
"viewport": "width=device-width, initial-scale=1",
"meta": [
// { name: 'viewport', content: 'width=device-width, initial-scale=1' }
],
"link": [
//{ rel: 'stylesheet', href: 'https://awesome-lib.css' }
],
"script": [
// { src: 'https://awesome-lib.js' }
],
"style": [
// { children: ':root { color: red }', type: 'text/css' }
],
},
},
runtimeConfig: {
public: {
backendUrl: "http://localhost:8000",
frontendUrl: "http://localhost:3000",
}
},
buildModules: [
// ...
'@pinia/nuxt',
],
imports: {
dirs: ["./utils"],
},
})