0.0.3 • Published 2 years ago

vue-add-local v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

VueAddLocal

bind input value to local storage

Installation

$ npm install vue-add-local

Example

<template>
  <div>
    <input type="text" v-add-local="'names'" placeholder="your names" />
    <select v-add-local="'countries'">
      <option value="RW">Rwanda</option>
      <option value="DRC">DRCongo</option>
      <option value="UG">Uganda</option>
    </select>
  </div>
</template>

<script>
import Vue from 'vue';
import VueAddLocal from 'vue-add-local';
Vue.use(VueAddLocal);

export default {
  name: 'App',
};
</script>

Demo

demo

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago