Closed ramytamer closed 7 years ago
@ramytamer, show traceroute of exceptions
Try loading it using Webpack. expose-loader may help you
Just import it...
import $ from 'jquery';
import '../../../node_modules/jquery-ui/ui/widgets/draggable';
Better:
import 'jquery-ui/ui/widgets/draggable';
@edin-m why not import 'jquery-ui/ui/widgets/draggable
?
I ended up installing jquery-ui-bundle alongside with jquery of-course via npm and importing it like this:
import 'jquery';
import 'jquery-ui-bundle';
I want to include jquery-ui in my project.
I installed it via npm (npm install --save jquery-ui) it didn't work because of some error with the images, i found a solution to install this package (jquery-ui-bundle) it didn't work also as expected.
I don't know the best way to import or use package like jquery-ui with bunch of css & images (assets) files and import them via javascript.
Thanks