29 lines
967 B
JavaScript
29 lines
967 B
JavaScript
module.exports = {
|
|
css: [
|
|
'iview/dist/styles/iview.css',
|
|
],
|
|
head: {
|
|
link: [
|
|
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
|
|
{ rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png' },
|
|
{ rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' },
|
|
{ rel: 'manifest', href: '/site.webmanifest' },
|
|
{ rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#7f0aff' },
|
|
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
|
|
],
|
|
meta: [
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1, user-scalable=no, minimal-ui' }
|
|
],
|
|
},
|
|
mode: 'spa',
|
|
plugins: [
|
|
{ src: '~/plugins/iview.js', ssr: false },
|
|
{ src: '~/plugins/graph-routing.js', ssr: false },
|
|
{ src: '~/plugins/app-components.js', ssr: false },
|
|
{ src: '~/plugins/vue-lazyload.js', ssr: false }
|
|
],
|
|
router: {
|
|
middleware: ['auth']
|
|
}
|
|
}
|