Closed bknoles closed 3 years ago
Adds a generator for installing a few necessary files for a React based inertia_rails project:
inertia.jsx
application.html.erb
The task is run via:
./bin/rails inertia_rails:install:react ./bin/rails inertia_rails:install:vue # doesn't do anything yet ./bin/rails inertia_rails:install:svelte # doesn't do anything yet
Adds a generator for installing a few necessary files for a React based inertia_rails project:
inertia.jsx
pack file with CSRF set up that renders an Inertia app, and adds it intoapplication.html.erb
The task is run via: