-
Notifications
You must be signed in to change notification settings - Fork 1
/
nuxt.config.ts
52 lines (44 loc) · 1.07 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
45
46
47
48
49
50
51
52
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxtjs/storybook', '@nuxt/image', '@pinia/nuxt', '@nuxt/icon', '@nuxtjs/i18n'],
app: {
baseURL: '/my-base/',
},
i18n: {
vueI18n: './i18n.config.ts' // if you are using custom path, default
},
icon: {
provider: 'server',
customCollections: [
{
prefix: 'my',
dir: './assets/icons',
},
],
clientBundle: {
includeCustomCollections: true,
},
},
imports: {
dirs: ['./stores'],
},
runtimeConfig: {
// For testing runtimeConfig in useMyComposable
app: {
name: 'Nuxt',
version: '1.0.0',
host: 'localhost',
port: 3000,
},
},
vue: {
runtimeCompiler: true,
},
compatibilityDate: '2024-08-03',
vite: {
optimizeDeps: {
include: ['jsdoc-type-pratt-parser'],
},
},
})