-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
47 lines (47 loc) · 946 Bytes
/
nuxt.config.ts
File metadata and controls
47 lines (47 loc) · 946 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
47
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
ssr: true,
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
}
},
tailwindcss: {
configPath: '~/tailwind.config.ts'
},
components: [
{
path: '~/components',
pathPrefix: false,
},
],
css: [
"~/layouts/inter/inter.css",
"~/layouts/druk/style.css",
],
plugins: [
{ src: '~/plugins/yamaps', mode: 'client' },
],
runtimeConfig: {
public: {
baseURL: process.env.BASE_URL || 'http://localhost/api',
yaApiKey: process.env.API_YA_MAPS_KEY || ''
},
},
devtools: { enabled: true },
devServer: {
port: 8080
},
modules: [
'@nuxtjs/tailwindcss',
'nuxt-svgo-loader',
'nuxt-svgo',
'@vite-pwa/nuxt',
'@pinia/nuxt',
],
svgo: {
autoImportPath: './assets/svg/',
}
})