-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
52 lines (46 loc) · 1.31 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
// https://nuxt.com/docs/api/configuration/nuxt-config
// @ts-ignore
import { sutando } from "sutando";
import config from "./sutando.config.cjs";
export default defineNuxtConfig({
devtools: { enabled: true },
app: {
head: {
meta: [
{ name: 'viewport', content: 'width=device-width, initial-scale=1, viewport-fit=cover, user-scalable=no' },
{
name: 'apple-mobile-web-app-status-bar-style',
content: 'black-translucent',
}
],
link: [
{ rel: 'icon', type: 'image/png', href: '/favicon.png' },
// { rel: 'manifest', href: '/site.webmanifest' }
]
},
},
modules: [
'@nuxtjs/tailwindcss',
'@nuxtjs/google-fonts',
'@nuxt/image',
'nuxt-icon',
'nuxt-auth-sanctum',
'@formkit/auto-animate/nuxt'
],
tailwindcss: {
cssPath: '~/assets/css/style.scss',
configPath: '~/tailwind.config.ts',
viewer: false,
},
googleFonts: {
families: {
Poppins: [300, 400, 500, 600, 700],
}
},
sanctum: {
redirect: {
keepRequestedRoute: true,
onLogin: '/dashboard', // Custom route after successful login
},
},
})