在vue-cli項目中使用less預編譯期.
直接使用 npm install less -D -S和npm install less-loader -D -S再按照正常流程使用.卻報錯

原因是less-loader的版本和less對應不上
解決:
npm uninstall less-loader
npm install less-loader@5.0.0 -D -S
<style language="less" scoped>
#app{
div{background-color: #ffffff;}
}
</style>
