24 Star 168 Fork 56

88250/pipe

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nuxt.config.build.js 1.19 KB
一键复制 编辑 原始数据 按行查看 历史
88250 提交于 2019-06-10 09:09 +08:00 . :art:#241
const env = require(`../pipe.tpl.json`)
module.exports = {
env,
/*
** Headers of the page
*/
head: {
title: 'Pipe',
meta: [
{charset: 'utf-8'},
{name: 'viewport', content: 'width=device-width, initial-scale=1'},
{name: 'robots', content: 'none'},
],
link: [
{rel: 'icon', type: 'image/x-icon', href: '/favicon.ico'},
{ rel: 'manifest', href: `/manifest.json` }
],
},
/*
** Customize the progress bar color
*/
loading: {color: '#4a4a4a'},
css: [
'vuetify/dist/vuetify.min.css',
'~assets/scss/main.scss',
],
plugins: [
{src: '~/plugins/axios.js', ssr: false},
{src: '~/plugins/init.js', ssr: false},
{src: '~/plugins/nuxt-client-init.js', ssr: false},
],
mode: 'spa',
/*
** Build configuration
*/
build: {
publicPath: (env.StaticServer || env.Server) + '/console/dist/',
extractCSS: true,
ssr: false,
/*
** Run ESLint on save
*/
extend (config, ctx) {
if (ctx.dev && ctx.isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /(node_modules)/,
})
}
},
},
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/dl88250/pipe.git
git@gitee.com:dl88250/pipe.git
dl88250
pipe
pipe
master

搜索帮助

371d5123 14472233 46e8bd33 14472233