-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
51 lines (42 loc) · 937 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: true,
target: 'server',
generate: {
routes: [
'/about',
'/pdf2chemicals/about',
'/pdf2chemicals/features'
]
},
devtools: { enabled: true },
modules: [
'@nuxtjs/tailwindcss',
'@pinia/nuxt',
'@pinia-plugin-persistedstate/nuxt',
],
srcDir: './',
plugins: [
'~/plugins/axios.js',
{ src: '~/plugins/aos.client.js', mode: 'client' },
'~/plugins/close-details.js',
'~/plugins/collapse-animation.js',
'~/plugins/default-theme.js'
],
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
}
},
css: [
'~/assets/css/collapse-animation.css'
],
runtimeConfig: {
public: {
apiUrl: process.env.API_URL_HOST,
apiDocsUrl: process.env.API_DOCS_URL
}
},
compatibilityDate: '2024-08-27',
})