mcco
v2.0.2
Published
## Usage
Downloads
3
Readme
MCCO
Usage
Install
npm install mcco
Register Materiel
import Vue from 'vue'
import { Materiel } from 'mcco'
Vue.component(Materiel, {
url: <project-url>,
materiels: <local-materiels>,
})
Using Materiel
<template>
<Materiel ref="materiel' name="<materiel-name>"></Materiel>
</template>
<script>
export default {
methods: {
callMaterielMethods() {
this.$refs.materiel.methods.<materiel-methods>()
}
}
}
</script>