Skip to content

Commit

Permalink
HowTo: Fix scoped registry config
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstern committed Nov 26, 2018
1 parent 0382530 commit 408ebf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/HowTo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</p>
<h2>Configure artifactory as an npm registry for your company</h2>
<h3>Alternative 1) Globally</h3>
<CodeBlock :code="`npm set registry ${data.companyScope ? `@${data.companyScope}:` : ''}${data.artifactoryUrl}`" language="bash"></CodeBlock>
<CodeBlock :code="`npm set ${data.companyScope ? `@${data.companyScope}:` : ''}registry ${data.artifactoryUrl}`" language="bash"></CodeBlock>
<v-subheader>More info:</v-subheader>
<v-list :class="`link-list`">
<v-list-tile><ExternalLink href="https://docs.npmjs.com/cli/config"></ExternalLink></v-list-tile>
Expand Down

0 comments on commit 408ebf0

Please sign in to comment.