Last active
November 24, 2024 04:43
-
-
Save default-anton/2f4050ac025da90735c4066eb71f142f to your computer and use it in GitHub Desktop.
Inertia Rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APP_PATH="$1" | |
rails new --skip-js --skip-asset-pipeline "$APP_PATH" | |
cd "$APP_PATH" | |
bin/bundle add inertia_rails inertia_rails-contrib | |
bin/rails generate inertia:install --no-interactive --no-example-page --framework react --no-typescript --package-manager pnpm --install-tailwind --install-vite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment