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: packages/compat/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,12 +61,12 @@ The script will change the custom element name by adding a `-v1` suffix (via [pa
61
61
62
62
**What it does**
63
63
64
-
<p>The script patches the `@ui5/webcomponents-compat` and `@ui5/webcomponents-react-compat` table component and subcomponents components and subcomponents to render with a different custom element name (tag name) compared to the v2 implementation.
65
-
This is done internally using `patch-package` to adjust the implementation in the **node_modules**.</p>
64
+
<p>The script patches the <code>@ui5/webcomponents-compat</code> and <code>@ui5/webcomponents-react-compat</code> table component and subcomponents components and subcomponents to render with a different custom element name (tag name) compared to the v2 implementation.
65
+
This is done internally using <code>patch-package</code> to adjust the implementation in the <b>node_modules</b>.</p>
66
66
67
67
**How to use**
68
68
69
-
<p><b>Install</b> the `@ui5/webcomponents-react-cli` and `@ui5/webcomponents-compat` packages:</p>
69
+
<p><b>Install</b> the <code>@ui5/webcomponents-react-cli</code> and <code>@ui5/webcomponents-compat</code> packages:</p>
70
70
71
71
```
72
72
// install `@ui5/webcomponents-compat` explicitly
@@ -80,11 +80,11 @@ npm i @ui5/webcomponents-react-cli @ui5/webcomponents-compat
80
80
ui5-wcr patch-compat-table
81
81
```
82
82
83
-
<p>The `ui5-wcr` executable is provided by the `@ui5/webcomponents-react-cli` package. The `patch-compat-table` command applies the necessary patches.</p>
83
+
<p>The <code>ui5-wcr</code> executable is provided by the <code>@ui5/webcomponents-react-cli</code> package. The <code>patch-compat-table</code> command applies the necessary patches.</p>
84
84
85
85
<p><b>Recommendation:</b></p>
86
86
87
-
<p>Add the script as `postinstall` script in the `package.json`, so it runs after every module update.</p>
87
+
<p>Add the script as <code>postinstall</code> script in the <code>package.json</code>, so it runs after every module update.</p>
0 commit comments