forked from gdtiti/NacollectorFrontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
45 lines (43 loc) · 1.06 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 NuxtConfiguration from '@nuxt/config'
const config: NuxtConfiguration = {
mode: 'spa',
head: {
title: 'Rescoll',
meta: [
{ charset: 'utf-8' },
{ name: 'X-UA-Compatible', content: 'IE=edge,chrome=1' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'renderer', content: 'webkit' },
{ name: 'author', content: 'https://github.com/qwqcode' }
]
},
loading: false,
css: [
'@/assets/css/main.scss',
'material-design-iconic-font/dist/css/material-design-iconic-font.min.css'
],
styleResources: {
scss: ['@/assets/css/_variables.scss', '@/assets/css/_extends.scss']
},
modules: ['@nuxtjs/axios', '@nuxtjs/style-resources'],
plugins: [
'~/plugins/outclick.min.js',
'~/plugins/marked.js'
],
axios: {},
router: {
mode: 'hash'
},
build: {
extend (config, { isDev, isClient }) {
if (isDev && isClient) {
// ...
}
}
},
server: {
port: 8080, // default: 3000
host: 'localhost' // default: localhost
}
}
export default config