Skip to content

Commit

Permalink
Updates docs to add the plugin to arc file.
Browse files Browse the repository at this point in the history
  • Loading branch information
kj committed Feb 21, 2024
1 parent f110786 commit 10eeb6f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/docs/md/patterns/building-for-the-browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ For most of your browser needs you can use Enhance's built-in [browser pattern](

### Install

`npm i npm i @architect/plugin-bundles`
`npm i @architect/plugin-bundles`

Add to your `.arc file`
Add the plugin and the components you want to bundle to your `.arc file`

```arc
@plugins
architect/plugin-bundles
@bundles
autocomplete '/utils/autocomplete.mjs'
```
Expand Down

0 comments on commit 10eeb6f

Please sign in to comment.