Closed jasperf closed 3 years ago
Hmm, maybe overthinking things here. Using:
import $ from 'jquery';
import '../../../../../node_modules/slider-pro/dist/js/jquery.sliderPro.min.js';
may work
or
import '@node/slider-pro/dist/js/jquery.sliderPro.js';
with
"@node/*": [
"node_modules/*"
]
at jsconfig.json
should work.
Can Slider Pro be imported as an ES5 or ES6 module? Could not find any working code examples. So starting to think I need some template like https://gist.github.com/publicJorn/668d381287632b1fbaed2d5288340b25 to allow importing in Vue components with ease.