Use localStorage in a Vue App
In this video, we're going to use localStorage to persist some user data in a Vue.js note-taking application.
We built this application from the ground up (well, almost) in my previous video. If you'd like to check that out, here's the link: https://www.youtube.com/watch?v=yGFJmM4G8ik
If you just want to watch to see how to implement localStorage in Vue, that's fine too. Feel free to jump straight into this one.
Here are some resources that might help as you watch:
❇️ The Vue.js site- https://vuejs.org/
❇️ Vue's documentation on lifecycle hooks- https://vuejs.org/v2/guide/instance.html#Instance-Lifecycle-Hooks
❇️ MDN's guide to using localStorage- https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
❇️ MDN documentation on the built-in JSON object- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON#
❇️ MDN documentation on console.log- https://developer.mozilla.org/en-US/docs/Web/API/Console/log
❇️ Vue docs on watchers- https://vuejs.org/v2/guide/computed.html#Watchers
Видео Use localStorage in a Vue App канала Rad Devon
We built this application from the ground up (well, almost) in my previous video. If you'd like to check that out, here's the link: https://www.youtube.com/watch?v=yGFJmM4G8ik
If you just want to watch to see how to implement localStorage in Vue, that's fine too. Feel free to jump straight into this one.
Here are some resources that might help as you watch:
❇️ The Vue.js site- https://vuejs.org/
❇️ Vue's documentation on lifecycle hooks- https://vuejs.org/v2/guide/instance.html#Instance-Lifecycle-Hooks
❇️ MDN's guide to using localStorage- https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
❇️ MDN documentation on the built-in JSON object- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON#
❇️ MDN documentation on console.log- https://developer.mozilla.org/en-US/docs/Web/API/Console/log
❇️ Vue docs on watchers- https://vuejs.org/v2/guide/computed.html#Watchers
Видео Use localStorage in a Vue App канала Rad Devon
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
JavaScript Cookies vs Local Storage vs Session100 Firebase Tips, Tricks, and Screw-upsLearn Vuex in 30 MINUTES! (Vue JS 3)Build a Reusable Modal Component Using Vue 3, The Composition API & SlotsVue Image Upload Made Easycookies vs localStorage vs sessionStorage - Beau teaches JavaScriptI Built Todo App To Let My Subscribers Manage Their Daily Tasks | With Javascript And Local StorageVue.js: The DocumentaryI built the same app 10 times // Which JS Framework is best?Все о Vuex за 30 минут. Что такое Vuex. Как работает VuexVuetify Краткий Курс 202106. Vuex Store And Vuex PersistedState To Store Encrypted States in Local Storage - RealTime ChatI review my old Git commit messages. 🤦♂️ These messages are 💩.Deploy a Supabase project on Netlify 📦Vuejs 3 les composantsIndexedDB - FINALLY an EASY Way! (with Localbase)How to use Local Storage in JavaScriptTrying Vue.js for the First TimeBuild Your First Vue.js App (in about 30 minutes) ⏳TUTO Nuxt JS : Introduction avec un ( petit ) PROJET ! (fr)