You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hello-world/setup.md
+2-36Lines changed: 2 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,12 @@ bundle add stimulus_reflex
28
28
29
29
or manually add this line to your `Gemfile`:
30
30
```ruby
31
-
gem 'stimulus_reflex', '3.5.0'
31
+
gem 'stimulus_reflex', '~> 3.5'
32
32
```
33
33
34
34
### Step 2: JavaScript
35
35
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.
37
37
38
38
StimulusReflex's installer will try to automatically detect your bundling setup and asks you to confirm the choice.
39
39
@@ -62,40 +62,6 @@ It looks like you're using esbuild as your bundler. Is that correct? (Y/n)
62
62
63
63
The bundler will continue and guide you through the install process.
64
64
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
-
99
65
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).
0 commit comments