[Vuejs]-Getting "Uncaught SyntaxError: Cannot use import statement outside a module" when i try to import a plugin for Vue.js

0👍

try the updated module syntax https://jakearchibald.com/2017/es-modules-in-browsers/:

<script type="module" src="js/carousel.js"></script>

Leave a comment