Skip to content

Installation instructions on https://timepicker.co/ are not clear #140

@joshdance

Description

@joshdance

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions