menhera-vue
0.0.3 • Public • Published Install
$ yarn add menhera menhera-vue
Example
new Mhr({
_mount: {
Mue
},
Mue: {
el: "#app",
data: {
count: 0
},
methods: {
increment() {
this.count++;
}
},
beforeCreate() {
this.$data.count++;
},
created() {
this.$data.count++;
},
beforeMount() {
this.$data.count++;
},
mounted() {
this.$data.count++;
}
}
});
// index.html
<body>
<div id="app">
<input type="text" v-model="count">
<button type="button" @click="increment">increment</button>
<p :val="count" :style="color:red"></p>
</div>
<script src="./index.js"></script>
</body>
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.3
2
Version History
Package Sidebar
Install
Weekly Downloads