@larva.io/webcomponents-vue
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

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

docs.larva.io

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,
  },
}

Readme

Keywords

none

Package Sidebar

Install

npm i @larva.io/webcomponents-vue

Weekly Downloads

51

Version

1.2.1

License

SEE LICENSE IN LICENSE.md

Unpacked Size

169 kB

Total Files

10

Last publish

Collaborators

  • reijosirila