Open rhonautix opened 1 year ago
Apologies that I didn't see this sooner, are you still having issues?
You should be adding any additional NodeJS packages that are used throughout your project to your app.js file ideally.
If you're not running a VIte Dev server, or are in a production environment, make sure to run "npm run build" to generate the built files correctly.
I'm getting Uncaught ReferenceError: flatpickr is not defined. I've already installed flatpickr using npn.
npm i flatpickr --save
I've added import flatpickr from 'flatpickr'; to my vite.config.js
I'm not sure if this is the right way to install.