Skip to content

Conversation

@stephannv
Copy link
Contributor

Improve component generator allowing installing dependencies like another components, js packages, stimulus controllers and ruby gems.
These dependencies are tracked in dependencies.yml file, maybe we could try to analyze component files to discover dependencies, but for now I think it will be simpler to add the dependencies manually to the yaml file.

This is an example of an application that RubyUI and Combobox was installed using only our generators (rails g ruby_ui:install and rails g ruby_ui:component Combobox). It is working 🥳.

Screen.Recording.2024-11-18.at.13.28.52.mov

@stephannv stephannv self-assigned this Nov 18, 2024
- "chart.js"

checkbox:
stimulus_controllers:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's remove the stimulus_controllers and we're good to go!

@stephannv stephannv merged commit 12096c8 into ruby-ui:main Nov 18, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants