1 Star 0 Fork 9

zhugexiaofei / ColorUICss

forked from ayhome / ColorUICss 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
ayhome 提交于 2019-03-08 11:52 . 隐藏
module.exports = {
publicPath: '/colorui/',
// outputDir: 在npm run build时 生成文件的目录 type:string, default:'dist'
outputDir: 'www/',
// pages:{ type:Object,Default:undfind }
productionSourceMap: false,
// chainWebpack: config => {
// config.resolve
// .symlinks(true)
// return config
// },
// configureWebpack: config => {
// if (process.env.NODE_ENV === 'production') {
// // 为生产环境修改配置...
// } else {
// // 为开发环境修改配置...
// }
// },
css: {
extract: true, // 是否使用css分离插件 ExtractTextPlugin
sourceMap: false, // 开启 CSS source maps
loaderOptions: {}, // css预设器配置项
modules: false // 启用 CSS modules for all css / pre-processor files.
},
runtimeCompiler:true,
devServer: {
port: 9003, // 端口号
host: '0.0.0.0',
// hotOnly: false,
// public: "tien.ali2app.com:9003",
hot: true,
// disableHostCheck: true,
// inline: true,
https: false, // https:{type:Boolean}
// watchOptions: {
// poll: true
// },
// open: true, //配置自动启动浏览器
}
}
CSS
1
https://gitee.com/zhugexiaofei/ColorUI.git
git@gitee.com:zhugexiaofei/ColorUI.git
zhugexiaofei
ColorUI
ColorUICss
master

搜索帮助