@larva.io/webcomponents-vue2
v1.2.1
Published
Vue2 specific wrapper for @larva.io/webcomponents
Downloads
11
Readme
Larva.io WebComponents Vue2 wrapper
Larva WebComponents are used to develop hybrid mobile applications for Larva.io infrastructure and controllers. Those components are actual User Interface Component - each component corresponds to the Larva.io Controllers User Interface nodes that you can use on a flow. Those WebComponents should be loaded dynamically based on a controller (flow) configuration.
For a Larva.io real-time communication between components and controllers, you must use suitable communication module, like this one @larva.io/clouddevice.
License: Attribution-NoDerivatives 4.0 International
Documentation
Getting started
npm install --save @larva.io/webcomponents-vue2
main.js
import Vue from 'vue';
import Component from './Component.vue';
import LarvaWebcomponents from '@larva.io/webcomponents-vue2';
Vue.use(LarvaWebcomponents);
new Vue({
el: '#app',
render: h => h(Component)
});
Component.vue
<template>
<div>
<lar-app>
</lar-app>
</div>
</template>