Skip to content

Commit

Permalink
Doc: small improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Nov 28, 2023
1 parent c314615 commit 26a3b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/javascript/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Rails.application.config.assets.paths << Pagy.root.join('javascripts')

#### Builders

In order to bundle the `pagy-module.js` your builder has to look into the pagy javascript path:
In order to bundle the `pagy-module.js` your builder has to find it either with a link or local copy, or by looking into the pagy javascript path:

+++ Generic
You can create a symlink or a copy of the `pagy-module.js` file (available in the pagy gem) into an app compiled dir and use it as a regular app file. That way any builder will pick it up. For example:
Expand Down

0 comments on commit 26a3b7e

Please sign in to comment.