matoni109 / inertia-parcel

Rails 7 alpha2 | Inertia js | Parcel as Bundler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Working example of Shopify Polaris React Components.

Screen Shot 2021-11-26 at 3 21 27 pm

  • Using js bundling for asset pipeline
  • may need to run npm install -g npm before bundle install to update npm

React with InertiaJS

  • Use existing Rails controllers for React front end views

JS Bundling by Parcel

  • JS and CSS compiling in RUST, hot reloading and file watching 30 % faster than Webpacker

  • Front-end components by Shopify Polaris

Run With

  • 2 x Terminal Windows
  • rails s & yarn build

Versions to run this repo:

  • Ruby 3.0.2

  • Yarn 1.22.15

  • Node 14.27.4

About

Rails 7 alpha2 | Inertia js | Parcel as Bundler


Languages

Language:Ruby 64.6%Language:JavaScript 20.7%Language:HTML 14.2%Language:CSS 0.5%