It works normally through CDN links but it does not work when I try to import it through npm. I followed the installation instructions, download and add the import declaration in "app.js", with the other packages, but I keep getting "Uncaught ReferenceError: Datepicker is not defined at :1:1".
My development environment is Laravel 9.19 and has Boxicons and Flowbite, both installed the same way and they work normally.
It works normally through CDN links but it does not work when I try to import it through npm. I followed the installation instructions, download and add the import declaration in "app.js", with the other packages, but I keep getting "Uncaught ReferenceError: Datepicker is not defined at:1:1".
My development environment is Laravel 9.19 and has Boxicons and Flowbite, both installed the same way and they work normally.