-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
46 lines (37 loc) · 992 Bytes
/
nuxt.config.ts
File metadata and controls
46 lines (37 loc) · 992 Bytes
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
46
// https://nuxt.com/docs/api/configuration/nuxt-config
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
export default defineNuxtConfig({
app: {},
build: {
transpile: ['vuetify'],
},
css: ['~/assets/styles/main.css', '~/assets/styles/font.css'],
devtools: { enabled: true },
modules: [
(_options, nuxt) => {
nuxt.hooks.hook('vite:extendConfig', (config) => {
// @ts-expect-error
config.plugins.push(vuetify({ autoImport: true }))
})
},
'@nuxtjs/leaflet',
'@pinia/nuxt',
],
runtimeConfig: {
apiSecret: '', // can be overridden by NUXT_API_SECRET environment variable
public: {
// can be overridden by NUXT_PUBLIC_API_BASE_URL environment variable
apiBaseUrl: 'http://localhost:8080/acoes-ods/v1/',
},
},
ssr: false,
vite: {
build: { target: 'es2022' },
vue: {
template: {
transformAssetUrls,
},
},
},
compatibilityDate: '2024-07-13',
})