generated from t0dd-kr/nuxt3-tailwind-daisyui-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
42 lines (39 loc) · 993 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
import { defineNuxtConfig } from 'nuxt/config'
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
app: {
head: {
meta: [
// <meta name="viewport" content="width=device-width, initial-scale=1">
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
],
},
},
modules: [
'@vueuse/nuxt',
[
'@pinia/nuxt',
{
autoImports: ['defineStore', 'storeToRefs'],
},
],
['@nuxtjs/tailwindcss', { viewer: true }],
'nuxt-icon',
],
imports: {
dirs: ['store/**/*', 'store/*'],
},
runtimeConfig: {
MONGO_PORT: '27017',
MONGO_HOST:
process.env.NODE_ENV == 'production' ? process.env.HOST : '127.0.0.1',
MONGO_USERNAME: 't0dd',
MONGO_PASSWORD:
process.env.NODE_ENV == 'production' ? process.env.SECRET : 't0dd',
MONGO_DB_NAME: 'ouw',
public: {
FILESTACK_API_KEY: 'Ary9Mb1AmS0GiYhHD49oZz',
},
},
ssr: false,
})