@regulaforensics/vp-frontend-face-components 6.2.1364-nightly → 6.2.1366-nightly
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 +2 -2
- package/dist/main.iife.js +108 -0
- package/package.json +7 -6
- package/dist/main.js +0 -2
- package/dist/main.js.LICENSE.txt +0 -61
package/README.md
CHANGED
@@ -72,7 +72,7 @@ Create `index.html` and `index.js` files in the root directory of the project.
|
|
72
72
|
Import `@regulaforensics/vp-frontend-face-components` into your `index.js`:
|
73
73
|
|
74
74
|
```javascript
|
75
|
-
import './node_modules/@regulaforensics/vp-frontend-face-components/dist/main.js';
|
75
|
+
import './node_modules/@regulaforensics/vp-frontend-face-components/dist/main.iife.js';
|
76
76
|
```
|
77
77
|
|
78
78
|
In `index.html` connect `index.js` and add the name of the component you want to use. Available components:
|
@@ -103,7 +103,7 @@ Connect the script in your `.html` file. CDN link: `unpkg.com/:package@:version/
|
|
103
103
|
For example:
|
104
104
|
|
105
105
|
```html
|
106
|
-
<script src="https://unpkg.com/@regulaforensics/vp-frontend-face-components@latest/dist/main.js"></script>
|
106
|
+
<script src="https://unpkg.com/@regulaforensics/vp-frontend-face-components@latest/dist/main.iife.js"></script>
|
107
107
|
```
|
108
108
|
|
109
109
|
Add the name of the component to the html, as in the example above.
|