How to use NPM Javascript components with Stimulus JS and Rails (ft. js-datepicker)

Опубликовано: 07 Октябрь 2024
на канале: Winston Codes On
461
7

How to install a component from NPM and use it in your Rails / Stimulus JS frontend, compiled by ESBuild.

Source code link (must be a Patreon member to access):
https://github.com/wakproductions-pat...
  / winstonkotzan  

Tip me in BTC! Bitcoin Address: 13FKUusPH1UPvgSkoQRRy6hEg4hyMqKzLS

0:00 Requirements overview
1:28 JQuery UI datepicker vs js-datepicker
2:18 Install js-datepicker and make Stimulus controller wrapper
5:47 Stimulus controller for page reload

Outtro Music:
Carl Casey White Bat Audio - Nightmare City
   • Cyberpunk Synthwave - Nightmare City ...