4 Star 9 Fork 1

吴彦文/weeklyPlus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nuxt.config.js 833 Bytes
一键复制 编辑 原始数据 按行查看 历史
wuyanwen 提交于 2017-08-29 13:20 +08:00 . 初始化提交
module.exports = {
/*
** Headers of the page
*/
head: {
title: 'weeklyplus',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Nuxt.js project' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
},
/*
** Customize the progress-bar color
*/
loading: { color: '#3B8070' },
plugins: ['~plugins/element-ui'],
/*
** Build configuration
*/
build: {
vendor: ['element-ui'],
/*
** Run ESLINT on save
*/
extend (config, ctx) {
if (ctx.dev && ctx.isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
exclude: /(node_modules)/
})
}
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/wuyanwen/weeklyPlus.git
git@gitee.com:wuyanwen/weeklyPlus.git
wuyanwen
weeklyPlus
weeklyPlus
master

搜索帮助