@vergelijkdirect/comparison-forms 1.0.57 → 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/dist-rollup/comparison-forms.js +1590 -1590
- package/dist-rollup/comparison-forms.umd.cjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,11 +19,14 @@ Example: <iframe src="localhost:3000/motor-form?link=http://google.com"&vd-form-
|
|
|
19
19
|
|
|
20
20
|
### Embedded mode
|
|
21
21
|
|
|
22
|
-
1.Install package comparison-forms
|
|
23
|
-
|
|
22
|
+
1.Install package @vergelijkdirect/comparison-forms
|
|
23
|
+
```
|
|
24
|
+
npm i @vergelijkdirect/comparison-forms
|
|
25
|
+
```
|
|
26
|
+
2.Ensure, that version of Vue is >2.7.14, and version of Node is 20.6.1
|
|
24
27
|
3.In entry js file (for example vd-partner.ts in partner-front) import comparisonFormsPlugin
|
|
25
28
|
```
|
|
26
|
-
import comparisonFormsPlugin from 'comparison-forms';
|
|
29
|
+
import comparisonFormsPlugin from '@vergelijkdirect/comparison-forms';
|
|
27
30
|
```
|
|
28
31
|
4.Make Vue use plugin
|
|
29
32
|
```
|
|
@@ -35,7 +38,7 @@ provide: { 'ITC': Vue.prototype.$transmissionClient },
|
|
|
35
38
|
```
|
|
36
39
|
6.For correct work of styles add globally or in correspond component styles import
|
|
37
40
|
```
|
|
38
|
-
import 'comparison-forms/styles';
|
|
41
|
+
import '@vergelijkdirect/comparison-forms/styles';
|
|
39
42
|
```
|
|
40
43
|
7.Use component <embedded-comparison-forms> to render appropriate form. Below indicated props types:
|
|
41
44
|
|