-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
42 lines (42 loc) · 918 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
// https://nuxt.com/docs/api/configuration/nuxt-config
import { defineNuxtConfig } from 'nuxt/config'
export default defineNuxtConfig({
ssr: true,
spaLoadingTemplate: false,
devtools: { enabled: false },
modules: ['@nuxtjs/tailwindcss', '@nuxtjs/eslint-module', 'nuxt-simple-sitemap', '@vueuse/nuxt'],
app: {
pageTransition: {
name: 'page', mode: 'out-in'
},
layoutTransition: {
name: 'page', mode: 'out-in'
}
},
css: [
'~/assets/css/tailwind.css'
],
components: {
global: true,
dirs: [
'~/components'
]
},
router: {
options: {
scrollBehaviorType: 'smooth'
}
},
eslint: {
/* module options */
lintOnStart: false
},
tailwindcss: {
jit: true,
cssPath: ['~/assets/css/tailwind.css', { injectPosition: 0 }],
configPath: 'tailwind.config.js',
exposeConfig: true,
config: {},
viewer: false,
}
})