You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -24,11 +24,11 @@ Link to the stylesheet in your HTML file:
24
24
25
25
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.
26
26
27
-
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.
27
+
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.
28
28
```
29
29
registry=https://registry.npmjs.org/
30
30
@zigurous:registry=https://npm.pkg.github.com
31
-
//npm.pkg.github.com/:_authToken={NPM_TOKEN}
31
+
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}
32
32
```
33
33
34
34
Install the package using your preferred package manager:
0 commit comments