ryan-hunter-pc / quickstart

Rails application template used by RH Productions
2 stars 0 forks source link

Install StimulusJS explicitly in the template #2

Closed ryan-hunter-pc closed 5 years ago

ryan-hunter-pc commented 5 years ago

BEFORE The template's StimulusJS installation relied on including --webpack=stimulus in the rails new call.

SOLUTION Promote the StimulusJS installation to a first-class step in the template, which also allows properly encapsulating the StimulusJS-related config fixes we were already doing in an explicit step. It depends on --webpack in the rails new call still, but that is much more clear and resilient than specifically requiring --webpack=stimulus.

ryan-hunter-pc commented 5 years ago

Fixed #1