Use localStorage in a Vue App

Опубликовано: 06 Октябрь 2024
на канале: Rad Devon
17,544
360

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:    • Build Your First Vue.js App (in about...  

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.h...
❇️ MDN's guide to using localStorage- https://developer.mozilla.org/en-US/d...
❇️ MDN documentation on the built-in JSON object- https://developer.mozilla.org/en-US/d...
❇️ MDN documentation on console.log- https://developer.mozilla.org/en-US/d...
❇️ Vue docs on watchers- https://vuejs.org/v2/guide/computed.h...