-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
44 lines (37 loc) · 1006 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({
compatibilityDate: '2024-04-03',
devtools: { enabled: true },
modules: [
'@nuxt/eslint',
'@nuxt/test-utils/module',
'nuxt-mongoose',
'nuxt3-winston-log',
'@vueuse/nuxt',
'@pinia/nuxt',
'@pinia-plugin-persistedstate/nuxt',
'@element-plus/nuxt',
],
srcDir: 'src/',
components: [
{ path: '~/components' },
{ path: '~/components/mongodb' },
{ path: '~/components/demo' },
],
css: [
'normalize.css',
'element-plus/theme-chalk/dark/css-vars.css',
'~/assets/style/base.css',
],
mongoose: {
uri: process.env.MONGODB_URI,
// options: {},
// modelsDir: 'models',
// devtools: true,
},
nuxt3WinstonLog: {
maxSize: '2048m',
maxFiles: '30d',
skipRequestMiddlewareHandler: true,
},
})