-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
30 lines (29 loc) · 927 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
// https://v3.nuxtjs.org/api/configuration/nuxt.config
// @ts-ignore
export default defineNuxtConfig({
css: ['vuetify/styles', '@/assets/css/styles.css'],
vite: {
// @ts-ignore
ssr: {
noExternal: ['vuetify'], // add the vuetify vite plugin
},
},
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt'],
build: {
transpile: ['@vuepic/vue-datepicker']
},
nitro: {
plugins: ['@/server/db/index.js']
},
runtimeConfig: {
MONGO_URI: process.env.MONGO_URI,
JWT_SECRET: process.env.JWT_SECRET,
public: {
IMAGE_TOKEN: process.env.VUE_APP_IMAGE_TOKEN,
FORMAT_ID: process.env.VUE_APP_FORMAT_ID,
FORMAT_IDTWO: process.env.VUE_APP_FORMAT_IDTWO,
FORMAT_IDTHREE: process.env.VUE_APP_FORMAT_IDTHREE,
FORMAT_IDFOUR: process.env.VUE_APP_FORMAT_IDFOUR
}
},
})