@creaditor/simple-preview
v1.0.17
Published
Simple preview component for creaditor pages.
Downloads
140
Maintainers
Readme
Simple Preview - See whats happen on diffrent devices.
Overview
this is simple preview plugin for creaditor using webcomponent.
Usage
Install the component via npm: npm i @creaditor/simple-preview
.
Start
npm run build:watch
npm run serve
http://10.100.102.31:8000/dev
How to use.
<cdtr-preview-widget
onclose="alert('back to editor')"
siteId="624f13b65f0b0d69724b6ed7"
type="desktop"
opened="true"
language="he"
endPoint="http://localhost:3003/"
primaryColor="blue"
></cdtr-preview-widget>
Build
npm run build
Publish
npm publish