0.01
No release in over a year
Create fully native controls, driven by your web app.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 6.0.0
 Project Readme

Strada for Rails

Strada enables you to create native controls in your hybrid mobile apps, driven by the web. Build web components and native components that work together in WebView screens to elevate your Turbo Native apps to the next level.

Strada for Rails makes it easy to use strada-web with both import-mapped and JavaScript-bundled apps. It relies on either importmap-rails to make Stimulus available via ESM or a Node-capable Rails (like via jsbundling-rails) to include Strada in the bundle. Make sure to install one of these first!

Read more on strada.hotwired.dev.

Installation

  1. Run bundle add strada-rails.
  2. Run rails strada:install.
  3. Generate your mobile projects using turbo-native-initializer.

The installer will automatically detect whether you're using an import map or JavaScript bundler to manage your application's JavaScript. If you're using an import map, the Strada dependencies will be pinned to the versions of the library included with this gem. If you're using Node, yarn will add the dependencies to your package.json file.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/lazaronixon/strada-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Strada::Rails project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.