-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
45 lines (44 loc) · 968 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
37
38
39
40
41
42
43
44
45
// https://nuxt.com/docs/api/configuration/nuxt-config
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
export default defineNuxtConfig({
ssr: false,
css: ['@/assets/css/main.scss'],
app: {
head: {
title: 'OXO Titan Portal'
}
},
devtools: { enabled: true },
build: {
transpile: ['vuetify']
},
modules: [
'nuxt-monaco-editor',
'@nuxt/eslint',
(_options, nuxt) => {
nuxt.hooks.hook('vite:extendConfig', (config) => {
config?.plugins?.push(vuetify({ autoImport: true }))
})
},
'@pinia/nuxt',
'@pinia-plugin-persistedstate/nuxt',
'notivue/nuxt'
],
vite: {
vue: {
template: {
transformAssetUrls
}
}
},
eslint: {
checker: true,
config: {
stylistic: true
}
},
features: {
// Some infinite warnings in dev mode blocking the app in browser. So, disabling it. Set it to True for debugging.
devLogs: false
}
})