0.0.1 • Published 4 years ago
vue-popcorn-localstorage v0.0.1
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
0.0.1
4 years ago