Build a Todo List App in Vue JS with LocalStorage in 2022 | Vue 3 for Beginners

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • Learn how to build a Todo list application in 2022 with Vue JS and the composition API. You will learn the basics of Vue Composition API along with some more advanced features such as LocalStorage for saving data to the browser.
    Source code: github.com/Tyl...
    // JOIN THE DISCORD SERVER!
    / discord
    // BECOME A MEMBER TO UNLOCK MORE CONTENT!
    www.youtube.co...
    // MY GEAR FOR CODING AND CZcams
    Blue Yeti Microphone: amzn.to/3jr3l7T
    Microphone Stand: amzn.to/35B9LMN
    Chair: amzn.to/3dWds3F
    Thunderbolt Dock: amzn.to/3osBF6u
    Monitor: amzn.to/37I8KoR
    Screenbar Light: amzn.to/3iFRS7w
    All of these products I own and have tested!
    // FOLLOW ME ON TWITTER
    / tyler_potts_
    // INTERESTED IN GAME DEV?
    Game development channel: / muddywolf
    // CHECK OUT MY GAME
    play.google.co...
    // DO THESE SIMPLE STEPS
    LIKE, SUBSCRIBE & SHARE

Komentáře • 108

  • @zalodias123
    @zalodias123 Před 2 lety +15

    Thanks for already including CSS. Helps to focus on the Vue logic and functionality.

  • @edkinge1531
    @edkinge1531 Před rokem +6

    Thanks for this, as a beginner I found this was perfectly for my skill level and learnt a lot!

  • @aldotube88
    @aldotube88 Před rokem +14

    Good video, I would say it feels like you go through it pretty quick, found myself pausing and coding along a lot more than others. I'd also say it feels a little bit above beginners level just on the explanation on what everything does

    • @TylerPotts
      @TylerPotts  Před rokem +5

      Thanks I'll take your feedback into consideration for my future videos! :D

    • @kapo5636
      @kapo5636 Před rokem +2

      @@TylerPotts yeah your explanations completely suck. you might as well take the time to go over what each part is properly doing, instead of saying "we do this, do that", especially if your video is catered towards beginners.

    • @sofiad.698
      @sofiad.698 Před 10 měsíci

      i slowed the video to 0.75 and it was still too fast xD

  • @user-iq4uz1ly6q
    @user-iq4uz1ly6q Před rokem

    Дякую, друже!
    Загалом все зрозуміло. Спробую розділити все це на компоненти, щоб нічого не зламати :)

  • @adelinewebdev6503
    @adelinewebdev6503 Před rokem +1

    Thank you for this video; I loved your coding approach, which is straightforward and efficient - exactly what we desire! Well done. However, a small notice: for beginners, please speak more slowly. I'm looking forward to seeing the other content you can share.

  • @waleedcodes1422
    @waleedcodes1422 Před 2 lety +3

    An other perfect Vue App Thanks!

  • @user-rb1fc2mm2m
    @user-rb1fc2mm2m Před 6 měsíci

    Hey Tylor, thanks for the explanation! While the video was informative, I felt a bit clickbaited by the thumbnail mentioning editing todos. It would be helpful if the video mentioned that aspect too, or the thumbnail could be adjusted to better reflect the content. Thanks!

  • @d-landjs
    @d-landjs Před rokem +1

    Excelent tutorial bro!!! Thnks for everything!!! Hope new tutorial with Firebase!

  • @jackwang3093
    @jackwang3093 Před rokem +1

    Thanks for the tutorial mate! Awesome content!

  • @thiagosaife1429
    @thiagosaife1429 Před rokem +1

    Pretty cool. I would just add another verification inside addTodo function = if (inputContent.value === "" || inputContent.value.trim() === "" || inputCategory.value === null) return

  • @haamidshamim9858
    @haamidshamim9858 Před 10 měsíci +1

    thank you very much for the code it helped me a lot

  • @TheanIDE
    @TheanIDE Před měsícem

    Thank you teacher ❤, Would you share me your suggestion or extension?

  • @kenweb27
    @kenweb27 Před rokem +2

    Thank you. I've completed this tutorial. It's my fist vue project. Question: In removeTodo why aren't you using something like removeItem to remove it from the local storage?

  • @jaloliddinumariy2025
    @jaloliddinumariy2025 Před rokem +1

    Very Good Video Thanks, But I have A error in computed
    Unexpected side effect in computed function

  • @yugeyuge8008
    @yugeyuge8008 Před 6 měsíci

    Thanks for the concise and educational video.

  • @jrv660
    @jrv660 Před 2 lety +2

    Anyone know this error?
    Unexpected side effect in computed function vue/no-side-effects-in-computed-properties

  • @rasen-shuriken
    @rasen-shuriken Před 7 měsíci

    in watch function it shoud be first parameter should be () => todos.value and () => name.value

  • @nato.musica
    @nato.musica Před 2 měsíci

    Awesome videos, thank you very much!

  • @jonyparker2279
    @jonyparker2279 Před rokem +1

    Thanks. This is really helpful.

  • @AbdullahKhan-js2oz
    @AbdullahKhan-js2oz Před 2 lety +4

    ❤ well it helped a lot

  • @paulaneesh7
    @paulaneesh7 Před 11 měsíci

    Please come up with more Vue projects, there's very less content of Vue on CZcams

  • @tomtakumi
    @tomtakumi Před 2 lety +2

    Cool video Tyler. Do you have any tips on using Web Components in Vue3?

  • @ai-bloggers
    @ai-bloggers Před 4 měsíci +1

    Thank you very much 🎉

  • @robimuhammad95
    @robimuhammad95 Před rokem +1

    thank you! easy to follow

  • @rohitkf8474
    @rohitkf8474 Před 2 lety

    Soooo soothing to listen to your voice bruh 😂

  • @faridehgorji2586
    @faridehgorji2586 Před 10 měsíci

    Hi, I am trying to learn Vue.js. I wish you had added all the details on the way you tested your codes in the console to teach us how to test our code. By the way your to do lest is not an ascending list which means to list the "todos " from the task which is done first to the task which is done next. So your todo list must be in the order make a video then Eat lunch and then test is you want to list them in ascending order based on the a TIME

  • @nikhilgupta9876
    @nikhilgupta9876 Před rokem +1

    Hello sir, your video is really helpful.
    what if we want to click and drag any todo items to arrange the todos in our way/order?

  • @NeverDieAgl
    @NeverDieAgl Před 2 lety +1

    Ok, i'm now getting a problem that todos are saved to local storage, but it get's cleared after F5 -.- name stays, todos not :/

  • @gleb.stachev
    @gleb.stachev Před rokem +1

    Thanks for the cool video, but I don't really understand why the business and personnel categories are needed? what is their functionality?

    • @TylerPotts
      @TylerPotts  Před rokem

      It's just an example of adding categories to a to-do list you can disregard them and still get the functionality to work fine 😁

    • @gleb.stachev
      @gleb.stachev Před rokem

      @@TylerPotts ok, thank you 😊

  • @newtonkimathi5141
    @newtonkimathi5141 Před 2 lety

    Excellent work keep up and share more knowledge

  • @elian-dev
    @elian-dev Před 10 měsíci

    Awesome video, thanks!

  • @nadetdevfullstack7041
    @nadetdevfullstack7041 Před 2 lety +1

    Excellent Tyler !

  • @ludame
    @ludame Před rokem +2

    Thanks for the tutorial. For someone who knows how to use React and looking to learn Vue, this was helpful. Just wondering what theme are using on your VScode?

  • @ManuMarea
    @ManuMarea Před 2 lety +2

    Great,it accepts links as well? You know this could be' useful to organizer and store remote resources

  • @casaderemador
    @casaderemador Před rokem

    Kick ass tutorial! Congrats!

  • @dicodidiraja
    @dicodidiraja Před 10 měsíci

    wordke flawlessly, thanks

  • @shimakara
    @shimakara Před rokem

    Thank you ,I learned a lot😀😀

  • @matthewtang5638
    @matthewtang5638 Před 2 lety +2

    Hi Tyler, would like to know if there's any follow up video on linking the vanilla javascript with local storage?

    • @TylerPotts
      @TylerPotts  Před 2 lety +1

      Hey Matthew, I've done an updated version of todo app with local storage here: czcams.com/video/6eFwtaZf6zc/video.html

  • @danielkovacs3664
    @danielkovacs3664 Před 7 měsíci

    thanks the video
    do u plan to develop google calendar implementation for this todo app?:)

  • @FitHealthyandInShape
    @FitHealthyandInShape Před 9 měsíci

    It looked like you were writing in JavaScript and it automatically was converting it to proper HTML. What were you using to accomplish that? How can I set my environment to work like yours?

  • @FroYouShorts-np5cm
    @FroYouShorts-np5cm Před rokem

    Please take more time in explanation , It would be great

  • @2310karyn
    @2310karyn Před rokem

    very nice one, thanks for sharing !

  • @Yakuzanis
    @Yakuzanis Před 9 měsíci

    Thank you so much !

  • @shanksjoyboy2550
    @shanksjoyboy2550 Před 2 lety +2

    Unexpected side effect in computed function on computed

  • @Pages_Perfected
    @Pages_Perfected Před rokem

    I have a question, it is stored in localstorage of the browser, but where is it exactly ? I mean in my device folders, Chrome then where?
    I saw it in inspect key value but couldn't find it in my device.

  • @mcfahr3655
    @mcfahr3655 Před rokem

    Works good, tnx

  • @user-ig8xk9jk3b
    @user-ig8xk9jk3b Před rokem

    hello sir whats the recommended syntax highlighting for vue

  • @abletoneverything3913

    How do you have your VScode suggesting whole lines of code like that? @18:29

  • @MTFights
    @MTFights Před rokem

    great video

  • @yooru7942
    @yooru7942 Před 2 lety

    Thanks ! for a total newbie i got a clear idea of everything that you explained , just one question what's the extension or tool that was auto completing your code ?

    • @nwachukwuexcel
      @nwachukwuexcel Před 2 lety

      I'm thinking Github Copilot but, it could just be another Eslint extension for Vue

    • @Drenwickification
      @Drenwickification Před rokem

      @@nwachukwuexcel Thanks for yout comment... hadn't heard of github autopilot but just got it now and it seems amazing. Just on a 2 month free trial but may well pay for it as it seems so useful

  • @shiratorr
    @shiratorr Před 10 měsíci

    What theme are you using?

  • @mr.gegenpress7750
    @mr.gegenpress7750 Před rokem

    'todos_asc' is declared but its value is never read.Vetur(6133)
    anyone else having the same issue? I'm trying to figure this out. Also, installed eslint and volar (replacement of vetur) but no success yet

  • @nwachukwuexcel
    @nwachukwuexcel Před 2 lety +2

    Thanks so much for the video Tyler.
    I just started learning Vue and what a fun project to work on!!! :)
    However, I think the todo input is restricted to a certain string length, I wouldn't know if I added this somewhere

  • @mikareich3388
    @mikareich3388 Před rokem +1

    what color theme are you using?

    • @junderfitting8717
      @junderfitting8717 Před rokem +1

      I'm looking for it too, did you find it?

    • @mikareich3388
      @mikareich3388 Před rokem

      @@junderfitting8717 no unfortunately not :(

    • @junderfitting8717
      @junderfitting8717 Před rokem

      @@mikareich3388 I wathed Tyler's video's about color theme. He use SynthWave '84 and Aura Theme

  • @zafariqbal92
    @zafariqbal92 Před rokem

    Liked the video and Smashed the Subscribe button!!!

  • @nicholasbazzoni7084
    @nicholasbazzoni7084 Před 2 lety

    Does this have within it an example of a parent component being passed to a child? just wondering

  • @hafiizhaalbanna7477
    @hafiizhaalbanna7477 Před 2 lety

    watch(name, (newVal) => {
    localStorage.setItem('name', newVal)
    })
    name deprecated. also when i see application is not store the name.

  • @araputrevor5103
    @araputrevor5103 Před rokem +1

    Do you need to always upload a new version of a Vue website or can you update individual pages

    • @TylerPotts
      @TylerPotts  Před rokem

      Interesting topic, so personally I use something called FTP Sync that will only update the modified files, so when you build your vue project you can hit sync and it'll only push the files that have changed.

    • @araputrevor5103
      @araputrevor5103 Před rokem

      @@TylerPotts thanks, could you please make a video about it

  • @seungyoonjang4205
    @seungyoonjang4205 Před rokem

    Thank you so much. I like your code colors! What is name of the theme?

    • @eugenevorobyev
      @eugenevorobyev Před rokem +1

      I think it's "SynthWave '84" from extended list of themes

    • @angelo1716
      @angelo1716 Před rokem

      @@eugenevorobyev i use the same one and it took me a while to realize we both use it lol

    • @andresmontenegro1384
      @andresmontenegro1384 Před rokem

      It's "Synthwave Refined" !

  • @9diin
    @9diin Před 2 lety

    It's good🎉

  • @ahmadevangelista9578
    @ahmadevangelista9578 Před rokem

    hi may I ask what extension do you use for intelisense.

  • @piyushpatil6874
    @piyushpatil6874 Před 2 lety +1

    Wonderfullllllll :)

  • @faridehgorji2586
    @faridehgorji2586 Před 10 měsíci

    Sorry for the typing errors.😮

  • @ahmetcanyontem5590
    @ahmetcanyontem5590 Před rokem

    Is the local storage permanent?
    I mean if u close the app and reopen it, do the data load or are they gone?

    • @szabolcsjobbagy30
      @szabolcsjobbagy30 Před rokem

      It is stored in your browser, it will remain there until you delete it manually or by an app.

  • @athallahyoga6986
    @athallahyoga6986 Před rokem

    can you put it on firebase?

  • @remixowlz
    @remixowlz Před 2 lety

    or you can just use .shift instead of .push

  • @vuchke
    @vuchke Před 2 lety

    is anyone else having his todos sorted from oldest first to newest or just me ?

    • @nicholasbazzoni7084
      @nicholasbazzoni7084 Před 2 lety

      const todos_asc = computed(() => todos.value.sort((a,b) =>{
      return b.createdAt - a.createdAt
      }))

  • @kolja235
    @kolja235 Před 2 lety +1

    Dude, you're WAY too fast, I had to stop the video like 100 times. But thanks for it, though. It taught me something.

  • @sohei1_
    @sohei1_ Před 10 měsíci

    Where is your styles?

  • @nabukodosonorogi9025
    @nabukodosonorogi9025 Před rokem

    M8 it's a gr8 video, super cool, but just to notice you are toooo fast , try little slower next time XDDDD

  • @santiagotv6095
    @santiagotv6095 Před 2 lety

    bookmarked

  • @zafariqbal92
    @zafariqbal92 Před rokem

    todos_asc = Todos Asynchronous 😂

  • @taymookrumpli3991
    @taymookrumpli3991 Před rokem +1

    is it for begginers? really? xd this is for intermediate users omg....

  • @ragnarlothbrok367
    @ragnarlothbrok367 Před rokem +2

    You jump up and down too much, my shit is not working and idk why

  • @atlantic_love
    @atlantic_love Před 2 měsíci +1

    You really need to work on editing your videos. It's maddening to watch you CONSTANTLY re-word or re-explain everything. It's tiring and confusing.

  • @hasansolak23
    @hasansolak23 Před rokem

    Great tutorial! Thanks a lot.