-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
34 lines (33 loc) · 809 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
import components from './app/config/components'
import composables from './app/config/composables'
import vite from './app/config/vite'
import vuetify from './app/config/vuetify'
import pinia from './app/config/pinia'
export default defineNuxtConfig({
devtools: { enabled: true },
app: {
head: {
script: [{ src: 'https://maps.api.2gis.ru/2.0/loader.js?pkg=full' }],
},
},
runtimeConfig: {
public: {
baseUrl: process.env.BASE_URL,
},
},
css: ['@/assets/scss/main.scss'],
modules: ['vuetify-nuxt-module', '@pinia/nuxt', '@pinia-orm/nuxt', 'nuxt-icons', 'maz-ui/nuxt'],
components,
imports: {
dirs: [...composables],
presets: [
{
from: '@vuelidate/core',
imports: ['useVuelidate'],
},
],
},
vite,
vuetify,
pinia,
})