RobinCK / vue-ls

:boom: Vue plugin for work with local storage, session storage and memory storage from Vue context 🇺🇦
https://robinck.gitbooks.io/vue-storage/
MIT License
538 stars 49 forks source link

How to use import and use it in js file #173

Open yili001 opened 2 years ago

yili001 commented 2 years ago

ok, in my vue3.0 project, I can use this.$ls.set and this.$ls.get to access the vue-ls, but how to make it works js file, I did not find a way to use it globally.

Big-Fruit commented 1 year ago

you can see in https://www.npmjs.com/package/vue-ls

Big-Fruit commented 1 year ago

the author has told you in readme about how to use in js file