-
Notifications
You must be signed in to change notification settings - Fork 1.5k
"Unexpected token import" from npm modules #284
Comments
In your renderer config, have you whitelisted them like:
|
Thank you! |
Adding |
@zxc23 Where do one place "let whiteListedModules = ['vue', 'vue-good-table']" ? |
@0libre |
Describe the issue / bug.
When I try to install some npm modules, like vue-good-table or vuejs-datatables and I import them the error is an "unexpected token import".
How can I reproduce this problem?
For example we can use vue good table.
npm install --save vue-good-table
router/index.js
(it's probably the wrong place). The error will appear in the console of DevTools:Tell me about your development environment.
The text was updated successfully, but these errors were encountered: