-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
44 lines (42 loc) · 1 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
41
42
43
44
import { defineNuxtConfig } from 'nuxt/config'
export default defineNuxtConfig({
devtools: { enabled: true },
modules: [
'@invictus.codes/nuxt-vuetify',
'@nuxtjs/eslint-module',
],
eslint: {
/* module options */
},
vuetify: {
/* vuetify options */
// @TODO: list all vuetify options
},
buildModules: {
/* nuxt-vuetify module options */
treeshaking: false,
useIconCDN: true,
/* vite-plugin-vuetify options */
styles: true,
autoImport: true,
useVuetifyLabs: true,
},
build: {
// Add Vue 3 specific compiler options here
vue: {
compilerOptions: {
isCustomElement: (tag: string) => tag.startsWith('v-')
}
}
},
// For custom routes, consider using extendRoutes, but generally, it's not needed in Nuxt
// router: {
// extendRoutes(routes, resolve) {
// routes.push({
// name: 'custom',
// path: '/custom',
// component: resolve(__dirname, 'pages/custom.vue'),
// });
// },
// },
})