跟到这一两节就出问题了

来源:15-2 组件拆分(中)

慕仙7852626

2018-05-14

components/header/header in ./src/router/index.js  To install it, you can run: npm install --save componentshttp://img.mukewang.com/szimg/5af8d08b0001b1db08000461.jpgspacer.gifhttp://img.mukewang.com/szimg/5af8d0c90001f45108000478.jpghttp://img.mukewang.com/szimg/5af8d0b20001fb1a07140404.jpg

写回答

2回答

ustbhuangyi

2018-05-14

你需要配置 components 的 alias,在 webpack.base.conf.js 中

0
1
慕仙7852626
感谢老师!暂时解决了当前的问题。
2018-05-15
共1条回复

慕仙7852626

提问者

2018-05-14

npm run dev  之后这样显示

You may use special comments to disable some warnings.

Use // eslint-disable-next-line to ignore the next line.

Use /* eslint-disable */ to ignore all warnings in a file


0
0

Vue.js2.5+cube-ui重构饿了么App(经典再升级)

掌握Vue1.0到2.0再到2.5最全版本应用与迭代,打造极致流畅的WebApp

9868 学习 · 4162 问题

查看课程