-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
31 lines (31 loc) · 891 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
[
"@pinia/nuxt",
{
autoImports: [
// automatically imports `defineStore`
"defineStore", // import { defineStore } from 'pinia'
// automatically imports `defineStore` as `definePiniaStore`
["defineStore", "definePiniaStore"], // import { defineStore as definePiniaStore } from 'pinia'
],
},
],
],
css: ["@/assets/styles/main.scss"],
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: '@import "@/assets/styles/_variables.scss";',
},
},
},
},
runtimeConfig: {
public: {
GMAP_API: process.env.GMAP_API
},
},
})