When using Stimulus in an engine, running the stimulus controller generator doesn't respect the engine namespace. So it'll generate in app/javascript/controllers instead of app/javascript/engine_name/controllers
Furthermore, the stimulus tasks are not available, so the automatic execution of stimulus:manifest:update by the generator fails.
I know this can all be done manually, but it's unintuitive that it doesn't work when other Rails generators operate correctly.
When using Stimulus in an engine, running the stimulus controller generator doesn't respect the engine namespace. So it'll generate in app/javascript/controllers instead of app/javascript/engine_name/controllers
Furthermore, the stimulus tasks are not available, so the automatic execution of stimulus:manifest:update by the generator fails.
I know this can all be done manually, but it's unintuitive that it doesn't work when other Rails generators operate correctly.