This might be my own inexperience but I can't figure out a step in the installation process.
I can install the package using npm i jquery-timepicker and that works fine.
This is the confusing part.
To use jQuery Timepicker you'll need to include two files: jquery.timepicker.min.js and jquery.timepicker.min.css. Then, assuming you have an element in your document, with class timepicker, you can use the code on the right (or the code below, if you are reading on mobile) to initialize the plugin.
How should I include the two files?
My other experiences with npm and webpack use something like import flatpickr from "flatpickr"; for the js.
What is the recommended way to include the js for timepicker.co?
And I have never included css using npm before, I assume I will need to learn how to use css-loader and load it in from the npm package correct?
This might be my own inexperience but I can't figure out a step in the installation process.
I can install the package using
npm i jquery-timepicker
and that works fine.This is the confusing part.
How should I include the two files?
My other experiences with npm and webpack use something like
import flatpickr from "flatpickr";
for the js.What is the recommended way to include the js for timepicker.co?
And I have never included css using npm before, I assume I will need to learn how to use css-loader and load it in from the npm package correct?