I have installed some dependencies with NPM
, these dependencies are basic, like bootstrap, animatecss and others ...
Anyway, I'd like to know how I can call these dependencies in a simple way. since I'm using this type of call:
import 'node_modules/chosen-js/chosen.jquery.js';
import 'node_modules/hammerjs/hammer.min.js';
import 'node_modules/hammerjs/hammer.min.js';
and in the css folder:
@import '../node_modules/css/font-awesome.min.css';
@import '../node_modules/dist/css/materialize.min.css';
@import '../node_modules/dist/css/materialize.min.css';
@import '../node_modules/slick/slick.css';
I saw something about require and tals, but I did not quite understand how it works.