Skip to content

Commit

Permalink
changes vite ruby to vite rails
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAugustoRamalhoDuarte authored and skryukov committed Jul 24, 2024
1 parent 51c2f58 commit 99ae43a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If bundler is not being used to manage dependencies, install the gem by executin

### Installation generator

`InertiaRailsContrib` comes with a generator that installs and sets up Inertia in a Rails application. **It requires the [Vite Ruby](https://vite-ruby.netlify.app) gem to be installed and configured in the application.**
`InertiaRailsContrib` comes with a generator that installs and sets up Inertia in a Rails application. **It requires the [Vite Rails](https://vite-ruby.netlify.app/guide/rails.html) gem to be installed and configured in the application.**

<details>
<summary>Creating a new Rails application and configuring Vite</summary>
Expand All @@ -30,7 +30,7 @@ This is actually a simple process. First, create a new Rails application:
rails new myapp --skip-js
```

Next, install the Vite Ruby gem:
Next, install the Vite Rails gem:

```bash
bundle add vite_rails
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/server-side-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ bundle add inertia_rails

## Rails generator

If you plan to use Vite as your frontend build tool, you can use the `inertia_rails-contrib` gem to install and set up Inertia in a Rails application. **It requires the [Vite Ruby](https://vite-ruby.netlify.app) gem to be installed and configured in the application.**
If you plan to use Vite as your frontend build tool, you can use the `inertia_rails-contrib` gem to install and set up Inertia in a Rails application. **It requires the [Vite Rails](https://vite-ruby.netlify.app/guide/rails.html) gem to be installed and configured in the application.**

To use the generator, execute the following command in the terminal:

Expand Down

0 comments on commit 99ae43a

Please sign in to comment.