Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running demo. #52

Open
hifall opened this issue May 13, 2018 · 0 comments
Open

Problem running demo. #52

hifall opened this issue May 13, 2018 · 0 comments

Comments

@hifall
Copy link

hifall commented May 13, 2018

When I run: npm run dev, I got:

ERROR Failed to compile with 3 errors 12:38:12

error in ./src/examples/APIExample.vue

Syntax Error: Unexpected token (16:4)

14 | },
15 | computed: {

16 | ...mapGetters([
| ^
17 | 'totalProduct'
18 | ])
19 | },

@ ./src/examples/APIExample.vue 7:2-107
@ ./src/router/index.js
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js

error in ./src/NaviBar.vue

Syntax Error: Unexpected token (271:4)

269 | name: 'va-navibar',
270 | computed: {

271 | ...mapGetters([
| ^
272 | 'unreadMessagesCount',
273 | 'unreadNotificationsCount',
274 | 'remainTasksCount',

@ ./src/NaviBar.vue 3:2-101
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/App.vue
@ ./src/App.vue
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js

error in ./src/Slider.vue

Syntax Error: Unexpected token (64:4)

62 | },
63 | computed: {

64 | ...mapGetters([
| ^
65 | 'currentUser'
66 | ])
67 | },

@ ./src/Slider.vue 3:2-100
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/App.vue
@ ./src/App.vue
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js

Any idea how to get around this?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant