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
If you're getting the error `wrong number of arguments (6 for 4..5)`, [read #2703].
116
116
117
-
## webpacker
118
-
119
-
You can **opt-in to using Webpacker for ActiveAdmin assets** as well by updating your configuration to turn on the `use_webpacker` option, either at installation time or manually.
120
-
121
-
* at active_admin installation:
122
-
123
-
```sh
124
-
rails g active_admin:install --use_webpacker
125
-
```
126
-
127
-
* manually:
128
-
129
-
```ruby
130
-
ActiveAdmin.setup do |config|
131
-
config.use_webpacker =true
132
-
end
133
-
```
134
-
135
-
And run the generator to get default Active Admin assets:
136
-
137
-
```sh
138
-
rails g active_admin:webpacker
139
-
```
140
-
141
117
## vite_rails
142
118
143
119
To use Active Admin with Vite, make sure the `@activeadmin/activeadmin` dependency is added to your `package.json` using e.g. Yarn:
0 commit comments