Following meteor docs I’ve installed Owl.Carousel with this command:
>meteor npm install --save owl.carousel
Now I have it in node_modules/owl.carousel
I am trying to Import
it exactly like stated here Using NPM packages :
import owl.Carousel from 'owl.carousel';
but at the build time I get this error: While building for web.browser: imports/startup/client/index.js:5:10: Unexpected token (5:10)
.
5:10 is the point in import statement: import owl here->. Carousel from ‘owl.carousel’;
Where is my mistake? How should I import
Owl.Carousel?