@larva.io/webcomponents-vue
v1.2.1
Published
Vue3 specific wrapper for @larva.io/webcomponents
Downloads
17
Readme
Larva.io WebComponents Vue3 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-vue
main.js
import { createApp } from 'vue'
import Component from './Component.vue'
import { LarvaWebcomponents } from '@larva.io/webcomponents-vue'
createApp(Component)
.use(LarvaWebcomponents)
.mount('#app')
Component.vue
<LarApp></LarApp>
import { LarApp } from '@larva.io/webcomponents-vue';
export default {
name: 'Component',
components: {
LarApp,
},
}