-
Notifications
You must be signed in to change notification settings - Fork 111
/
nuxt.config.js
85 lines (73 loc) · 1.44 KB
/
nuxt.config.js
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
// const LANG = 'en_US';
// const TYPE = 'website';
// const URL = 'https://hippocrades.com';
// const SITE_NAME = 'hippocrades.com';
// https://nuxt.com/docs/api/configuration/nuxt-config
// eslint-disable-next-line no-undef
export default defineNuxtConfig({
preset: 'node-server',
modules: [
'@nuxtjs/tailwindcss',
'nuxt-headlessui',
'nuxt-gtag',
],
gtag: {
id: 'G-M1KERXTK1H', // TODO: Add your google analytics 4 tag here
},
srcDir: './src',
runtimeConfig: {
public: {
yourEnv: process.env.YOUR_ENV,
},
},
plugins: [
{
src: '@/plugins/aos',
ssr: false,
mode: 'client',
},
],
app: {
head: {
link: [
{
rel: 'stylesheet',
href: 'https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/1.3.0/css/line-awesome.min.css',
},
],
},
},
tailwindcss: {
cssPath: '~/assets/css/tailwind.css',
configPath: 'tailwind.config',
exposeConfig: false,
exposeLevel: 2,
config: {},
injectPosition: 'first',
viewer: true,
},
headlessui: {
prefix: 'Headless',
},
build: {
extend (config, ctx) {
config.resolve.symlinks = false;
},
},
image: {
dir: 'assets/images',
screens: {
xs: 320,
sm: 640,
md: 768,
lg: 1024,
xl: 1280,
xxl: 1536,
'2xl': 1536,
'3xl': 1920,
},
},
devtools: {
enabled: true,
},
});