码迷,mamicode.com
首页 > 其他好文 > 详细

vuecli3 运行报错

时间:2019-01-21 21:03:38      阅读:2910      评论:0      收藏:0      [点我收藏+]

标签:cti   copy   win   windows   token   inf   desktop   1.7   rpo   

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator\Desktop\cube>npm run serve

> cube@0.1.0 serve C:\Users\Administrator\Desktop\cube
> vue-cli-service serve

INFO Starting development server...
98% after emitting CopyPlugin

ERROR Failed to compile with 1 errors 19:57:03

error in ./src/router.js

Module parse failed: Unexpected token (17:13)
You may need an appropriate loader to handle this file type.
| // which is lazy-loaded when the route is visited.
| component: function component() {
> return import(
| /* webpackChunkName: "about" */
| ‘./views/About.vue‘);

@ ./src/main.js 6:0-30 10:10-16
@ multi (webpack)-dev-server/client?http://192.168.30.220:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

vuecli3 运行报错

标签:cti   copy   win   windows   token   inf   desktop   1.7   rpo   

原文地址:https://www.cnblogs.com/muou2125/p/10300681.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!