appletx-builder
v1.1.21
Published
Visual user interface used to design, edit, and generate [ReproSchema](https://github.com/ReproNim/reproschema) applets. Written in Vue, hosted on [GitHub](https://github.com/ChildMindInstitute/protocol-builder), and distributed with [NPM](https://www.npm
Downloads
6
Readme
Applet Builder
Visual user interface used to design, edit, and generate ReproSchema applets. Written in Vue, hosted on GitHub, and distributed with NPM.
Usage
Install dependency
npm install applet-builder<template>
<AppletBuilder
exportButton
@uploadProtocol="onUploadApplet"
/>
</template>
<script>
import Components from 'applet-builder';
export default {
name: 'My-App',
components: {
...Components,
},
methods: {
onUploadApplet(newApplet) {
console.log('new applet', newApplet);
}
},
}
</script>Project Development setup
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for distribution
npm run build-bundlePublish to npm (requires authentication)
npm run publishLint files
npm run lint