8000 Update general docs/install · activeadmin/activeadmin@a0f9932 · GitHub
[go: up one dir, main page]

Skip to content

Commit a0f9932

Browse files
committed
Update general docs/install
1 parent 5e8d5e4 commit a0f9932

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

docs/0-installation.md

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ After installing the gem, you need to run the generator. Here are your options:
4444
The generator adds these core files, among others:
4545

4646
* `app/admin/dashboard.rb`
47-
* `app/assets/javascripts/active_admin.js`
48-
* `app/assets/stylesheets/active_admin.scss`
47+
* `app/assets/stylesheets/active_admin.css`
4948
* `config/initializers/active_admin.rb`
49+
* `tailwind-active_admin.config.js`
5050

5151
Now, migrate and seed your database before starting the server:
5252

@@ -114,30 +114,6 @@ Draper::CollectionDecorator.send :delegate, :per_page_kaminari
114114

115115
If you're getting the error `wrong number of arguments (6 for 4..5)`, [read #2703].
116116

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-
141117
## vite_rails
142118

143119
To use Active Admin with Vite, make sure the `@activeadmin/activeadmin` dependency is added to your `package.json` using e.g. Yarn:
@@ -148,7 +124,6 @@ yarn add @activeadmin/activeadmin@^3
148124

149125
Then follow the steps outlined in this discussion comment: https://github.com/activeadmin/activeadmin/discussions/7947#discussioncomment-5867902
150126

151-
152127
[CHANGELOG]: https://github.com/activeadmin/activeadmin/blob/master/CHANGELOG.md
153128
[dashboard.rb]: https://github.com/activeadmin/activeadmin/blob/master/lib/generators/active_admin/install/templates/dashboard.rb
154129
[active_admin.rb]: https://github.com/activeadmin/activeadmin/blob/master/lib/generators/active_admin/install/templates/active_admin.rb.erb

0 commit comments

Comments
 (0)
0