-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
40 lines (40 loc) · 1.15 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
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
modules: [
"@nuxtjs/tailwindcss",
[
"@pinia/nuxt",
{
autoImports: [
// automatically imports `defineStore`
"defineStore", // import { defineStore } from 'pinia'
// automatically imports `defineStore` as `definePiniaStore`
["defineStore", "definePiniaStore"], // import { defineStore as definePiniaStore } from 'pinia'
],
},
],
],
runtimeConfig: {
"clientId": process.env.CLIENT_ID,
"clientSecret": process.env.CLIENT_SECRET,
"redirectOauth": process.env.REDIRECT_OAUTH,
"botInvite": process.env.BOT_INVITE,
"apiBase": process.env.API_BASE,
public: {
"redirectOauth": process.env.REDIRECT_OAUTH,
"botInvite": process.env.BOT_INVITE,
},
},
appConfig: {
apiBase: "http://localhost:5116",
botInvite:
"http://discord.com/api/oauth2/authorize?client_id=869686497203335199&permissions=8&scope=bot",
},
imports: {
dirs: ["stores"],
},
routeRules: {
"/dashboard/": { ssr: false },
"/dashboard/**": { ssr: false },
},
});