When I follow the basic installation instructions, I get an error: Uncaught SyntaxError: Unexpected token import in sweet-modal-view/src/main.js. I believe this is because my build (based on a Vue 2.0 starter project) does not support transpiling node modules.
When I edit sweet-modal-vue's package.json to point to the dist folder as other vue component modules do, the exported object is empty.
When I follow the basic installation instructions, I get an error:
Uncaught SyntaxError: Unexpected token import
insweet-modal-view/src/main.js
. I believe this is because my build (based on a Vue 2.0 starter project) does not support transpiling node modules.When I edit sweet-modal-vue's package.json to point to the dist folder as other vue component modules do, the exported object is empty.