forked from satusan/satusan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
38 lines (36 loc) · 898 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
compatibilityDate: "2024-08-02",
future: { compatibilityVersion: 4 },
modules: [
'@vee-validate/nuxt', 'nuxt-icon', '@nuxtjs/i18n', '@nuxtjs/tailwindcss',
// '@sidebase/nuxt-auth',
// '@nuxtjs/tailwindcss',
],
extends: [
'./ui'
],
veeValidate: {
autoImports: true,
},
// auth:{
// isEnabled: true,
// baseURL: 'http://localhost:3000/api/auth/',
// provider: {
// type: 'authjs',
// },
// globalAppMiddleware:{
// isEnabled: true,
// allow404WithoutAuth: true,
// }
// },
runtimeConfig: {
// The private keys which are only available within server-side
apiSecret: '123456',
// Keys within public, will be also exposed to the client-side
public: {
apiBase: '/api'
}
},
})