uipacker
v0.3.1
Published
Uipacker NPM migrating module
Downloads
2
Readme
Uipacker NPM migrating module
Usage:
npm install uipacker
Then, in your element:
import { ReactComponent, VueComponent } from 'uipacker/uipacker';
//Initial once, register in uipacker.com for id
ReactComponent.Initial(`${id}`);
//Show element in render
<ReactComponent.anyName anyProp={123} />
Or vue
import { VueComponent } from 'uipacker/uipacker';
VueComponent.Initial(`${id}`);
new this.Vue({
el: bindTo,
template: `<up-vue-component componentName="${anyName}" />`,
components: {
'up-vue-component': this.VueComponents.New
}
});