Skip to content

Commit

Permalink
Fix installation docs (#1191)
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron authored Jun 10, 2022
1 parent d944069 commit d82359d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/silver-suns-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/view-components': patch
---

Fix PVC installation docs to mention correct Javascript include
2 changes: 1 addition & 1 deletion docs/content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ require "primer/view_components/engine"
Optionally, to add the JavaScript behaviours, in your `application.html.erb` in the `<head>` tag add:

```erb
<%= javascript_include_tag("primer") %>
<%= javascript_include_tag("primer_view_components") %>
```

Or alternatively, you can install the `@primer/view-components` npm package and in your JavaScript code add:
Expand Down

0 comments on commit d82359d

Please sign in to comment.