Skip to content

Commit

Permalink
improve asset pipeline docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed May 24, 2024
1 parent a783cbb commit 80648f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/2.0/custom-asset-pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The order in which Avo loads the partials and asset files is this one:

### Sprockets and Propshaft

Create `avo.custom.js` and `avo.custom.css` inside `app/assets/javascripts` and `app/assets/stylesheets` with the desired scripts and styles.
Create `avo.custom.js` and `avo.custom.css` inside `app/javascripts` and `app/assets/stylesheets` with the desired scripts and styles.
Then add them to Avo using the `_pre_head.html.erb` partial (`rails generate avo:eject :pre_head`).

```erb
Expand Down
2 changes: 1 addition & 1 deletion docs/3.0/custom-asset-pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ The order in which Avo loads the partials and asset files is this one:

### Sprockets and Propshaft

Create `avo.custom.js` and `avo.custom.css` inside `app/assets/javascripts` and `app/assets/stylesheets` with the desired scripts and styles.
Create `avo.custom.js` to the `app/javascripts` directory and `avo.custom.css` to `app/assets/stylesheets` with the desired scripts and styles.
Then add them to Avo using the `_pre_head.html.erb` partial (`rails generate avo:eject --partial :pre_head`).

```erb
Expand Down

0 comments on commit 80648f2

Please sign in to comment.