Skip to content

Shopify App Scaffold using Ruby on Rails + ReactJS + Polaris

Notifications You must be signed in to change notification settings

marisveide/shopify-rails-react-polaris

Repository files navigation

Shopify App Scaffold

Solution

Made it to all connect together somehow using the following approach:

  1. webpacker gem
  2. Will work only if webpack is run in non-server mode using ./bin/webpack --watch - because otherwise UI is on separate port and Shopify cannot communicate with one or another normally.
  3. Shopify key and originDomain are taken from JS object.

If you have found a better solution for it all to work together, please, contribute here!

Sequence of actions to repeat this project

gem 'webpacker', '~> 2.0'
gem 'webpacker-react', "~> 0.3.1"

Contact

[email protected]

About

Shopify App Scaffold using Ruby on Rails + ReactJS + Polaris

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published