mel-dataview
v0.1.2
Published
This is a Vue component library to support code / data driven interfaces
Downloads
4
Readme
mel-dataview
This is a Vue component library to support code / data driven interfaces
import { BuilderTag, DataView } from 'mel-dataview'
export default
name: 'MyComponent'
components: {
'data-view': DataView
}
data: ->
dv = new BuilderTag 'div'
dv.add_div()
.add_text("some text")
return
data_view: dv.data
and then in your HTML
<data-view :field="data_view" />
Project setup
yarn install
Compiles and hot-reloads for development
yarn serve
Compiles and minifies for production
yarn build
Run your unit tests
yarn test:unit