-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
50 lines (47 loc) · 1.25 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
47
48
49
50
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
runtimeConfig: {
public: {
base_url: process.env.BASE_URL,
},
},
app: {
baseURL: '/phoenix-frontend-shailja-goswami/',
head: {
title: 'FlixTv',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
],
script: [
//This is just for example how to add js
//you can include js by this method direact include or via import individual method as per below link
//https://github.com/Debonex/samples/blob/master/nuxt3-bootstrap5/app.vue
{ src: 'https://awesome-lib.js' },
],
link: [
//This for just example how to add css
{ rel: 'stylesheet', href: 'https://awesome-lib.css' },
{
rel: 'icon',
type: 'image/svg+xml',
href: 'http://flixtv.volkovdesign.com/main/img/logo.svg',
},
],
},
},
css: ['bootstrap/dist/css/bootstrap.min.css', '~/assets/css/main.css'], // add
modules: [
[
'@pinia/nuxt',
{
autoImports: ['defineStore', 'acceptHMRUpdate'],
},
],
],
vite: {
define: {
'process.env.DEBUG': false,
},
},
})