Skip to content

Commit d3c1b61

Browse files
Update vue doc
1 parent 7cdf3ab commit d3c1b61

File tree

1 file changed

+7
-7
lines changed
  • docs/els-for-runtimes-and-libraries/vue

1 file changed

+7
-7
lines changed

docs/els-for-runtimes-and-libraries/vue/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ TuxCare provides ELS for Vue as an NPM package, hosted on a secure internal regi
9595
9696
</CodeWithCopy>
9797
98-
5. You need to remove the `node_modules` directory and the `package-lock.json` file, and also clear the `npm cache` before installing the patched packages. Use the following commands:
98+
5. You need to remove the `node_modules` directory and the `pnpm-lock.yaml` file before installing the patched packages. Use the following command:
9999
100100
<CodeWithCopy>
101101
102102
```text
103-
rm -rf node_modules package-lock.json && npm cache clean --force
103+
rm -rf node_modules pnpm-lock.yaml
104104
```
105105

106106
</CodeWithCopy>
@@ -110,7 +110,7 @@ TuxCare provides ELS for Vue as an NPM package, hosted on a secure internal regi
110110
<CodeWithCopy>
111111

112112
```text
113-
npm install
113+
pnpm install
114114
```
115115

116116
</CodeWithCopy>
@@ -149,12 +149,12 @@ If you have already installed a package with a `tuxcare.1` suffix and want to up
149149

150150
* **Option 2: Manual Update via CLI (Single Dependency)**
151151

152-
If you want to update a single TuxCare dependency, use the npm install command with the specific version. This automatically updates both `package.json` and `package-lock.json`:
152+
If you want to update a single TuxCare dependency, use the pnpm add command with the specific version. This automatically updates both `package.json` and `pnpm-lock.yaml`:
153153

154154
<CodeWithCopy>
155155

156156
```text
157-
npm install vue@npm:@els-js/[email protected]
157+
pnpm add vue@npm:@els-js/[email protected]
158158
```
159159

160160
</CodeWithCopy>
@@ -166,8 +166,8 @@ If you have already installed a package with a `tuxcare.1` suffix and want to up
166166
<CodeWithCopy>
167167

168168
```text
169-
rm -rf node_modules package-lock.json && npm cache clean --force
170-
npm install
169+
rm -rf node_modules pnpm-lock.yaml
170+
pnpm install
171171
```
172172

173173
</CodeWithCopy>

0 commit comments

Comments
 (0)