Skip to content

Commit

Permalink
Update app/docs/md/conventions/components.md
Browse files Browse the repository at this point in the history
Co-authored-by: Cole Peters <[email protected]>
  • Loading branch information
macdonst and colepeters authored Feb 26, 2024
1 parent f400259 commit 869e2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/docs/md/conventions/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ import MyCard from "../components/my-card.mjs"
export { MyCard }
```

This will create a file called `public/browser/index.mjs` that you include as a `script` tag on any pages you want to use the `MyCard` component. For example:
This will create a new client side bundle, available at `public/browser/index.mjs`. You can use this file as a `script` tag’s source on any pages in which you want to use the `MyCard` component. For example:

```html
<script type="module" src="/_public/browser/index.mjs"></script>
Expand Down

0 comments on commit 869e2e3

Please sign in to comment.