updates for details block, minor styles fixes,update readme.md

This commit is contained in:
Денис Строков
2023-02-15 02:35:45 +03:00
parent 5c29bb3bb9
commit 338e91724e
5 changed files with 121 additions and 87 deletions

View File

@ -77,9 +77,12 @@ npm run build
</wc-wysiwyg>
```
-->
First, include JS and define custom element
First need integrate wc-wysiwyg styles, you have 2 way, vanila css in `dist/sass` or scss in `src/sass` just include in your web project
Second, include JS and define custom element
```javascript
import('/src/components/wc-wysiwyg.js').then(esm => {
//you can pass any name into define fn
esm.define();
});
```