引入reset.css后启动项目报错是怎么回事,群里下的css
来源:6-7 Vue项目预热 - 项目代码初始化
 
			39sakuchan
2019-03-12
in ./src/assets/styles/reset.css
Module build failed: Unknown word (5:1)
3 | // load the styles
4 | var content = require("!!../…/…/node_modules/_css-loader@0.28.11@css-loader/index.js??ref–6-1!../…/…/node_modules/postcss-loader/lib/index.js??ref–6-2!./reset.css");
5 | if(typeof content === ‘string’) content = [[module.id, content, ‘’]];
| ^
6 | if(content.locals) module.exports = content.locals;
7 | // add the styles to the DOM
8 | var update = require("!../…/…/node_modules/vue-style-loader/lib/addStylesClient.js")(“406f59e8”, content, false, {});
@ ./src/assets/styles/reset.css 2:14-280 21:1-42:3 22:19-285
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
2回答
- 
				
				感觉这个样式文件的代码有问题,你贴出来看看 022019-03-13
- 
				  39sakuchan 提问者 2019-03-13 // The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue' import App from './App' import router from './router' import fastClick from 'fastclick' import store from './store/' import './assets/styles/reset.css' import './assets/styles/border.css' Vue.config.productionTip = false fastClick.attach(document.body) /* eslint-disable no-new */ new Vue({ el: '#app', router, components: { App }, template: '<App/>' }) 00
相似问题
