-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
52 lines (50 loc) · 1001 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
45
46
47
48
49
50
51
52
// https://nuxt.com/docs/api/configuration/nuxt-config
import en from './locale/en.json'
import km from './locale/km.json'
export default defineNuxtConfig({
modules: [
'@pinia/nuxt',
[
'@nuxtjs/tailwindcss',
{
cssPath: '~/assets/css/tailwind.css',
configPath: 'tailwind.config',
exposeConfig: true,
},
],
'@vueuse/nuxt',
[
'@nuxtjs/i18n',
{
vueI18n: {
legacy: false,
locale: 'en',
messages: {
en,
km,
},
},
},
],
'nuxt-icon',
[
'@nuxtjs/color-mode',
{
classSuffix: '',
},
],
],
extends: '@nuxt-themes/docus',
typescript: {
shim: false,
strict: true,
},
// nitro: {
// plugins: ["~/server/index.ts"]
// },
runtimeConfig: {
mongodbUri: process.env.MONGODB_URI,
plausible: process.env.NUXT_PUBLIC_PLAUSIBLE_DOMAIN,
GA: process.env.GOOGLE_ANALYTICS_ID,
},
})