vue項目,直接在終端中運行
npm run dev
能夠成功執行。可是在atom安裝的platformio-ide-terminal插件中打開一個終端運行報錯css
在webpack.dev.conf.js中添加以下配置便可vue
const ExtractTextPlugin = require('extract-text-webpack-plugin') plugins: [ ... // extract css into its own file new ExtractTextPlugin({ filename: utils.assetsPath('css/[name].[contenthash].css'), // set the following option to `true` if you want to extract CSS from // codesplit chunks into this main css file as well. // This will result in *all* of your app's CSS being loaded upfront. allChunks: false, }) ]