I am new in installing packages in Laravel. Now, I am trying to implement timepicker
from https://timepicker.co/. I already installed npm i jquery-timepicker.
What is the next thing in doing it? I always get timepicker
is not a function when running this script
$(document).ready(function(){
$('input.timepicker').timepicker({});
});
Any help is highly appreciated, thank you
You have to require that plugin, where you require jQuery to your application.
It has to be something like this.
window.$ = window.jQuery = require('jquery')
require('timepicker')