-
We're using Lookbook to preview our partials and Phlex components, and Lookbook pulls in ViewComponent as a dependency. We're not using ViewComponent in this app, but it seems to have registered itself as the Rails 'component' generator, and I'm unable to remove or override it. Other libraries namespace their generators, like Related, ViewComponent kinda pollutes the generator namespace, overall: It added (in red) all those top-level items, like Haml: Component (we're not using Haml or Slim in this app). Phlex added its generators under the "Phlex" namespace (in yellow), and I added some for our app (in blue). I also added a top-level I can name mine as |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I opened a PR that moves the generators into a ViewComponent namespace #2130 |
Beta Was this translation helpful? Give feedback.
I opened a PR that moves the generators into a ViewComponent namespace #2130