-
Notifications
You must be signed in to change notification settings - Fork 85
/
nuxt.config.js
40 lines (40 loc) · 999 Bytes
/
nuxt.config.js
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
module.exports = {
dev: process.env.NODE_ENV !== 'production',
components: true,
plugins: ['~/plugins/socket.client.js', '~/plugins/progress.js'],
head: {
link: [{
rel: 'stylesheet',
type: 'text/css',
href: '/css/nprogress.css'
}, {
rel: 'stylesheet',
type: 'text/css',
href: '/css/loadIndicator.css'
},
{
href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css",
rel: "stylesheet",
integrity: "sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl",
crossorigin: "anonymous"
}]
},
modules: ['@nuxtjs/axios', '@nuxtjs/auth-next'],
auth: {
strategies: {
discord: {
clientId: 'YOUR BOT ID',
clientSecret: 'CLIENT SECRET',
codeChallengeMethod: '',
grantType: 'authorization_code',
scope: ['email', 'identify']
},
},
redirect: {
login: '/login',
logout: '/',
callback: '/login',
home: '/'
}
}
}