Skip to content

Commit 61271f8

Browse files
Merge pull request #301 from ejarocki-cloudlinux/doc/updates
Update vue docs
2 parents 7cdf3ab + 3d6d809 commit 61271f8

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docs/.vuepress/components/ELSTechnology.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,11 @@ const techData = [
500500
versions: "2.7.16",
501501
link: "./vue/",
502502
},
503+
{
504+
name: "vue-template-compiler",
505+
versions: "2.6.11",
506+
link: "./vue-template-compiler/",
507+
},
503508
{
504509
name: "webpack-dev-server",
505510
versions: "3.11.0 | 4.7.3 | 4.15.1",
@@ -520,11 +525,6 @@ const techData = [
520525
versions: "5.28.5",
521526
link: "./undici/",
522527
},
523-
{
524-
name: "vue-template-compiler",
525-
versions: "2.6.11",
526-
link: "./vue-template-compiler/",
527-
},
528528
{
529529
name: "xml2js",
530530
versions: "0.4.23",

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)