vue Errors


> demo2@1.0.0 dev E:\v2-demo\demo2
> node build/dev-server.js

> Starting dev server...
ERROR Failed to compile with 1 errors23:37:12

This dependency was not found:

* demo1 in ./~/._babel-loader@6.4.1@babel-loader/lib!./~/._vue-loader@11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/components/Hello.vue

To install it, you can run: npm install --save demo1
> Listening at http://localhost:8080

 

import mo from 'demo1'   改为  import mo from '@/components/demo1'

 

posted @ 2017-05-10 23:41  haveProgress  阅读(170)  评论(0编辑  收藏  举报