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

Syntax Error #3

Closed
zhex900 opened this issue Aug 13, 2018 · 2 comments
Closed

Syntax Error #3

zhex900 opened this issue Aug 13, 2018 · 2 comments
Labels
need repro Reproduction is needed

Comments

@zhex900
Copy link

zhex900 commented Aug 13, 2018

Hi,

I get this error after running webpack.

ERROR in ./router.js
Module build failed: SyntaxError: Unexpected token (11:9)

   9 |
  10 | const RouterLayout = createRouterLayout(layout => {
> 11 |   return import ('@/layouts/' + layout + '.vue');
     |          ^
  12 | })

node: v10.2.1
npm: v6.3.0

@ktsn
Copy link
Owner

ktsn commented Aug 14, 2018

Could you provide a reproduction?

@ktsn ktsn added the need repro Reproduction is needed label Aug 14, 2018
@ktsn
Copy link
Owner

ktsn commented Aug 29, 2018

Closing as a reproduction was not provided.

@ktsn ktsn closed this as completed Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need repro Reproduction is needed
Projects
None yet
Development

No branches or pull requests

2 participants