-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
46 lines (45 loc) · 1.2 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
// @ts-nocheck
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
runtimeConfig: {
// Keys within public, will be also exposed to the client-side
public: {
apiBase: process.env.NUXT_ENV_BASE_API_URL,
baseURL: process.env.NUXT_ENV_BASE_API_URL,
auth0: {
domain: process.env.NUXT_ENV_AUTH0_DOMAIN,
domainUrl: process.env.NUXT_ENV_AUTH0_DOMAIN_URL,
clientId: process.env.NUXT_ENV_AUTH0_CLIENT_ID,
cacheLocation: 'localstorage',
useRefreshTokens: true,
useRefreshTokensFallback: true,
authorizationParams: {
scope: process.env.NUXT_ENV_AUTH0_SCOPE,
audience: process.env.NUXT_ENV_AUTH0_AUDIENCE,
redirect_uri: process.env.NUXT_ENV_AUTH0_CALLBACK_URL,
},
},
},
},
devtools: { enabled: true },
modules: ['@nuxt/devtools'],
devServer: {
https: {
key: './.cert/key.pem',
cert: './.cert/cert.pem',
},
},
css: ['~/assets/css/ress.min.css', '~/assets/css/main.css'],
router: {
middleware: ['router'],
},
app: {
head: {
htmlAttrs: {
lang: 'en',
translate: 'no',
},
},
},
})