generated from TiroZit/nuxt-fsd-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
44 lines (44 loc) · 852 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
35
36
37
38
39
40
41
42
43
44
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
srcDir: 'src/',
typescript: {
strict: true,
},
vue: {
propsDestructure: true,
},
dir: {
assets: 'app/assets',
public: 'app/public',
layouts: 'app/layouts',
pages: 'app/providers/router/routes',
middleware: 'app/providers/router/middleware',
},
components: [
{
path: 'widgets',
pathPrefix: false,
},
{
path: 'features',
pathPrefix: false,
},
{
path: 'entities',
pathPrefix: false,
},
{
path: 'shared',
pathPrefix: false,
},
],
// pinia: {
// storesDirs: [
// './src/widgets/**/model/*.ts',
// './src/features/**/model/*.ts',
// './src/entities/**/model/*.ts',
// './src/shared/**/model/*.ts',
// ],
// },
});