Skip to content

Commit fcacffc

Browse files
committed
docs: specify major version for webcomponent
1 parent ba4cc80 commit fcacffc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Can be used as a webcomponent. The form data will be posted to a given endpoint.
118118
<head>
119119
<meta charset="UTF-8">
120120
<title>Title</title>
121-
<link rel="stylesheet" href="https://unpkg.com/@educorvi/vue-json-form/dist/webcomponent/dist.css">
121+
<link rel="stylesheet" href="https://unpkg.com/@educorvi/vue-json-form@^2/dist/webcomponent/dist.css">
122122
</head>
123123
<body>
124124
<!-- json: Your JSON Schema -->
@@ -129,7 +129,7 @@ Can be used as a webcomponent. The form data will be posted to a given endpoint.
129129
></vue-json-form>
130130

131131

132-
<script src="https://unpkg.com/@educorvi/vue-json-form/dist/webcomponent/dist.umd.min.js"></script>
132+
<script src="https://unpkg.com/@educorvi/vue-json-form/dist/webcomponent@^2/dist.umd.min.js"></script>
133133
</body>
134134
</html>
135135
```

webcomponent_example.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<title>Title</title>
6-
<link rel="stylesheet" href="https://unpkg.com/@educorvi/vue-json-form/dist/webcomponent/dist.css">
6+
<link rel="stylesheet" href="https://unpkg.com/@educorvi/vue-json-form@^2/dist/webcomponent/dist.css">
77
</head>
88
<body>
99
<vue-json-form
@@ -12,6 +12,6 @@
1212
></vue-json-form>
1313

1414

15-
<script src="https://unpkg.com/@educorvi/vue-json-form/dist/webcomponent/dist.umd.min.js"></script>
15+
<script src="https://unpkg.com/@educorvi/vue-json-form@^2/dist/webcomponent/dist.umd.min.js"></script>
1616
</body>
1717
</html>

0 commit comments

Comments
 (0)