menhera-vue

0.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    2
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i menhera-vue

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

6.98 kB

Total Files

7

Last publish

Collaborators

  • vaiii