node -v
v10.14.1
npm -v
6.4.1
npm install
npm run dev
./src/router/index.js
Module build failed: SyntaxError: Unexpected token (7:35)
5 |
6 | // route-level code splitting
> 7 | const createListView = id => () => import('../views/CreateListView').then(m => m.default(id))
| ^
8 | const ItemView = () => import('../views/ItemView.vue')
9 | const UserView = () => import('../views/UserView.vue')
10 |
BabelLoaderError: SyntaxError: Unexpected token (7:35)