1 Star 0 Fork 124

pluto-charon77/nuxt-elm

forked from bowen/nuxt-elm 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
nuxt.config.js 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
[cai.bowen] 提交于 2018-11-01 14:24 . update
module.exports = {
mode: 'spa',
head: {
title: '饿了么',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0' },
{ hid: 'description', name: 'description', content: 'Nuxt.js project' },
{ name: 'format-detection', content: 'telephone=no' },
{ name: 'msapplication-tap-highlight', content: 'no' },
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
],
link: [
{ rel: 'SHORTCUT ICON', type: 'image/x-icon', href: '/favicon.ico' }
],
script: [
{ src: 'https://easytuan.gitee.io/node-elm-api/public/flexible.js' },
],
},
loading: { color: '#3B8070' },
cache: true,
build: {
vendor: ['axios', 'mint-ui', 'js-cookie'],
extend (config, { isDev, isClient }) {
if (isDev && isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /(node_modules)/
})
}
}
},
plugins: [
{ src: '~plugins/mint-ui' },
{ src: '~assets/styles/base.scss' },
],
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/pluto-charon77/nuxt-elm.git
[email protected]:pluto-charon77/nuxt-elm.git
pluto-charon77
nuxt-elm
nuxt-elm
master

搜索帮助