Commit 0a5dac08 authored by 周远喜's avatar 周远喜

okkk

parent fe605615
...@@ -45,10 +45,10 @@ export default { ...@@ -45,10 +45,10 @@ export default {
*/ */
css: [ css: [
'./libs/iview-pro/iview-pro.css', './libs/iview-pro/iview-pro.css',
{ // {
src: '@styles/index.less', // src: '@/styles/index.less',
lang: 'less' // lang: 'less'
}, // },
], ],
/* /*
** Plugins to load before mounting the App ** Plugins to load before mounting the App
...@@ -86,14 +86,14 @@ export default { ...@@ -86,14 +86,14 @@ export default {
}, },
extend (config, ctx) { extend (config, ctx) {
config.resolve.alias['_c']=path.resolve(__dirname, 'components') config.resolve.alias['_c']=path.resolve(__dirname, 'components')
config.module.rules.push({ // config.module.rules.push({
enforce:'pre', // enforce:'pre',
test: /\.vue$/, // test: /\.vue$/,
loader: 'iview-loader', // loader: 'iview-loader',
options: { // options: {
prefix: false // prefix: false
} // }
}); // });
} }
// , // ,
// chainWebpack: config => { // chainWebpack: config => {
......
...@@ -56,6 +56,6 @@ ...@@ -56,6 +56,6 @@
"lint-staged": "^7.2.0", "lint-staged": "^7.2.0",
"svg-sprite-loader": "^3.8.0", "svg-sprite-loader": "^3.8.0",
"text-loader": "0.0.1", "text-loader": "0.0.1",
"vue-template-compiler": "^2.6.10" "vue-template-compiler": "^2.6.11"
} }
} }
@import "./default/index.less"; @import "./default/index.less";
// @import "./font/iconfont.css"; @import "./font/iconfont.css";
@import "./setting.less"; @import "./setting.less";
@import "./common.less"; @import "./common.less";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment