-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
89 lines (78 loc) · 2.18 KB
/
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import {resolve} from 'path';
export default defineNuxtConfig({
alias: {
store: resolve(__dirname, './src/store'),
},
devServer: {
host: '127.0.0.1',
},
postcss: {
plugins: {
'tailwindcss/nesting': {},
'tailwindcss': {},
'autoprefixer': {},
},
},
css: [
'~/assets/css/tailwind.css',
'~/assets/css/iconify.css',
'~/assets/css/toastify.css',
],
modules: [
'@pinia/nuxt',
],
app: {
head: {
title: 'Jonathan Walters',
meta: [
{charset: 'utf-8'},
{name: 'viewport', content: 'width=device-width, initial-scale=1'},
],
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: '/favicon.ico',
},
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: '/favicon-16x16.png',
},
{
rel: 'icon',
type: 'image/png',
sizes: '32x32',
href: '/favicon-32x32.png',
},
{
rel: 'icon',
type: 'image/png',
sizes: '96x96',
href: '/favicon-96x96.png',
},
],
},
},
ignore: [
process.env.NODE_ENV === 'production' ? 'pages/tpthemer/upload.vue' : '',
'pages/provider/projects.vue',
'pages/provider/settings.vue',
],
runtimeConfig: {
public: {
authCookieName: 'auth',
origin: process.env.NODE_ENV === 'production'
? 'https://jdw.me'
: 'http://localhost:3000',
jwtApi: process.env.NODE_ENV === 'development'
? 'http://localhost:3001'
: 'https://seahorse-app-w4qv4.ondigitalocean.app',
telemetryAppId: '2CF2D5B7-8DBC-45A7-A2BE-56EFE6227F08',
},
},
srcDir: 'src/',
ssr: true,
telemetry: false,
});