-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
40 lines (39 loc) · 948 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
import env from 'dotenv';
env.config();
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: true },
modules: [
'@nuxt/eslint',
'@nuxt/image',
'@nuxt/icon',
],
eslint: {},
css: [
'~/assets/css/fonts.css',
'~/assets/css/main.css',
],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
runtimeConfig: {
DATABASE_USER: process.env.DATABASE_USER,
DATABASE_HOST: process.env.DATABASE_HOST,
DATABASE_NAME: process.env.DATABASE_NAME,
DATABASE_PASSWORD: process.env.DATABASE_PASSWORD,
DATABASE_PORT: process.env.DATABASE_PORT,
JWT_SECRET: process.env.JWT_SECRET,
NODE_ENV: process.env.NODE_ENV,
},
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
title: 'ConsoleCast - Simulated terminal',
},
},
});