Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Rails-Turbo #497

Merged
merged 2 commits into from
Oct 5, 2023
Merged

Enable Rails-Turbo #497

merged 2 commits into from
Oct 5, 2023

Conversation

eoinkelly
Copy link
Contributor

Closes #484

Comment on lines +104 to +107
# Setup Turbo
yarn_add_dependencies %w[
@hotwired/turbo-rails
]
Copy link
Contributor

Choose a reason for hiding this comment

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

issue: this is installing the same package twice

Suggested change
# Setup Turbo
yarn_add_dependencies %w[
@hotwired/turbo-rails
]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Doh. Typo from me. I won't keep your suggestion because I wanted Turbo to be in it's own part of the file but I will remove the duplication

Copy link
Contributor

Choose a reason for hiding this comment

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

ok but that means we're running yarn install yet again which has it re-do a bunch more work - I know its not the biggest deal in the context of the template, but imo its still silly when the line immediately before it is doing an install...

I'll not block over it though 🤷

@lukeify lukeify merged commit a407d33 into main Oct 5, 2023
22 checks passed
@lukeify lukeify deleted the issue-484-add-rails-turbo branch October 5, 2023 23:06
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.

Devise sign-out link broken by default. Rails-turbo or rails/ujs required.
3 participants