-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
45 lines (44 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
41
42
43
44
45
import { defineNuxtConfig } from 'nuxt/config'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: false },
ssr: false,
modules: ['@pinia/nuxt', 'nuxt-icon'],
app: {
head: {
link: [
{
href: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css',
rel: 'stylesheet',
integrity: 'sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC',
crossorigin: 'anonymous',
},
],
script: [
{
src: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js',
integrity: 'sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM',
crossorigin: 'anonymous',
},
],
},
},
css: ['~/assets/css/bootstrap.min.css', '~/assets/css/index.sass'],
vite: {
vue: {
script: {
defineModel: true,
propsDestructure: true,
},
},
vueJsx: {},
},
runtimeConfig: {
public: {
apiUrl: '',
bookCoversUrl: '',
midtransSnapUrl: '',
midtransClientKey: '',
},
},
})