Skip to content

Commit 6851a63

Browse files
committed
Update Setup Docs for StimulusReflex 3.5, Rails 7/8
1 parent 4e9be47 commit 6851a63

File tree

1 file changed

+2
-36
lines changed

1 file changed

+2
-36
lines changed

docs/hello-world/setup.md

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ bundle add stimulus_reflex
2828

2929
or manually add this line to your `Gemfile`:
3030
```ruby
31-
gem 'stimulus_reflex', '3.5.0'
31+
gem 'stimulus_reflex', '~> 3.5'
3232
```
3333

3434
### Step 2: JavaScript
3535

36-
StimulusReflex 3.5 is designed to work with all the asset bundling solutions Rails 7 supports.
36+
StimulusReflex 3.5 is designed to work with all the asset bundling solutions Rails 7 and Rails 8 supports.
3737

3838
StimulusReflex's installer will try to automatically detect your bundling setup and asks you to confirm the choice.
3939

@@ -62,40 +62,6 @@ It looks like you're using esbuild as your bundler. Is that correct? (Y/n)
6262

6363
The bundler will continue and guide you through the install process.
6464

65-
#### Manual selection
66-
67-
If the installer can't automatically detect your setup or you want tell the installer which strategy to use you can run the `stimulus_reflex:install` command with an argument.
68-
69-
##### Using Importmaps
70-
71-
```bash
72-
rails stimulus_reflex:install importmap
73-
```
74-
75-
##### Using esbuild
76-
77-
```bash
78-
rails stimulus_reflex:install esbuild
79-
```
80-
81-
##### Using Vite
82-
83-
```bash
84-
rails stimulus_reflex:install vite
85-
```
86-
87-
##### Using Webpacker
88-
89-
```bash
90-
rails stimulus_reflex:install webpacker
91-
```
92-
93-
##### Using Shackapacker
94-
95-
```bash
96-
rails stimulus_reflex:install shakapacker
97-
```
98-
9965
And that's it! You can start using StimulusReflex in your application with the `development` environment. You'll need to keep reading to set up [`test`](/appendices/testing#test-environment-setup) and [`production`](/appendices/deployment).
10066

10167
<LinkComponent name="Quick Start" href="/hello-world/quickstart" />

0 commit comments

Comments
 (0)