We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@hotwired/turbo
@hotwired/turbo-rails
It shouldn't matter if you are using @hotwired/turbo or @hotwired/turbo-rails, TurboPower should work either way.
As pointed out in #2 and #3 (comment) it seems like there are some inconsistencies. The following snippets should work:
import * as Turbo from "@hotwired/turbo" import TurboPower from "turbo_power" TurboPower.initialize(Turbo.StreamActions)
import { StreamActions } from "@hotwired/turbo" import TurboPower from "turbo_power" TurboPower.initialize(StreamActions)
import { Turbo } from "@hotwired/turbo-rails" import TurboPower from "turbo_power" TurboPower.initialize(Turbo.StreamActions)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It shouldn't matter if you are using
@hotwired/turbo
or@hotwired/turbo-rails
, TurboPower should work either way.As pointed out in #2 and #3 (comment) it seems like there are some inconsistencies. The following snippets should work:
The text was updated successfully, but these errors were encountered: