Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

menhera-vue

vaiii3MIT0.0.3

bash $ yarn add menhera menhera-vue

readme

Install

$ yarn add menhera menhera-vue

Example

//index.js
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>
$ parcel index.html