0.0.1 • Published 4 years ago

vue-popcorn-localstorage v0.0.1

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

VueLocalStorage

Your plugin description...

Installation

1. Install

yarn add vue-popcorn-localstorage
# or
npm i vue-popcorn-localstorage --save

2. Plug-in

import VueLocalStorage from 'vue-popcorn-localstorage'

Vue.use(VueLocalStorage)

new Vue({
  // your vue config
  popcornSettings: new VueLocalStorage(),
})

3. Use in your components

<template>
  <vue-popcorn-localstorage />
</template>

<script>
  export default {
    async created() {
      console.log(this.$popcorn);
    },
  };
</script>

License

MIT