Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgraham committed Nov 20, 2024
1 parent 01e5014 commit d8c9253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ Link to the stylesheet in your HTML file:

Generate a [personal access token](https://github.com/settings/tokens) in your GitHub account with the `read:packages` scope. GitHub requires an auth token to download packages even if they are public.

Add an `.npmrc` file in the same directory as your `package.json` with the lines below. Replace `{NPM_TOKEN}` with the token you generated in the previous step.
Add an `.npmrc` file in the same directory as your `package.json` with the lines below. Replace `${NPM_TOKEN}` with the token you generated in the previous step.
```
registry=https://registry.npmjs.org/
@zigurous:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken={NPM_TOKEN}
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}
```

Install the package using your preferred package manager:
Expand Down

0 comments on commit d8c9253

Please sign in to comment.