Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

How do I create a gem for my ViewComponents that include Stimulus?

0
Gems / Libraries

Can anyone point me at a guide or tutorial that will help me built a gem that does the following:

  • Allows me to have my ViewComponents
  • Styled with Tailwind
  • Interaction with Stimulus controllers

The end goal is that I can use this gem in multiple products to have access to the consistent styles/design guide.

We've tried a few things and stimulus wasnt playing nice

Join the discussion
Create an account Log in