-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
45 lines (45 loc) · 1.04 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
css: ['~/assets/styles/global.scss'],
modules: ['@vueuse/nuxt'],
runtimeConfig: {
public: {
API_BASE_URL: 'http://192.168.1.136:3000'
//API_BASE_URL: 'https://cors-anywhere.herokuapp.com/http://192.168.1.136:3000'
}
},
app: {
head: {
script: [
{
src: 'https://kit.fontawesome.com/f8ee3158a1.js',
crossorigin: 'anonymous',
},
],
titleTemplate: '%s - Hexaturion',
title: 'Hexaturion',
htmlAttrs: {
lang: 'en',
},
bodyAttrs: {
class: 'has-navbar-fixed-top',
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
],
},
},
ssr: false,
vite: {
css: {
preprocessorOptions: {
scss: {
sourceMap: false,
additionalData: '@import "@/assets/styles/variables.scss";',
},
},
},
},
})