Todo List App with Laravel and Vue.js

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • In this video I go through the process of created a full stack todo list web application using Laravel 8 and Vue.js 2.

КОМЕНТАРІ • 417

  • @mariannehartigan
    @mariannehartigan 3 роки тому +60

    At 27:15 when trying to bring up the vue page for the first time I had to do two things:
    In webpack.mix.js add ".vue()" so that it reads: mix.js('resources/js/app.js', 'public/js').vue()
    Also run "npm i vue-loader" in command prompt
    Thanks for the awesome video!

    • @arshadahmad4433
      @arshadahmad4433 3 роки тому +1

      Thanks!

    • @tigere01
      @tigere01 3 роки тому +3

      Thanks very much. I had to stop and scroll down the comments looking for any reference to the issue.

    • @ardhafatika8320
      @ardhafatika8320 3 роки тому

      thanks for the info, but when i npm run hot again and still got error message
      Error: Cannot find module 'D:\Project\laravel-mix\bin\cli.js'
      can someone help me.. ?

    • @therain9389
      @therain9389 3 роки тому +1

      Thank you, you're a legend

    • @henrique-arthur
      @henrique-arthur 3 роки тому +1

      thanks!!

  • @AdrianSmithSEO
    @AdrianSmithSEO 3 роки тому +7

    You are definitely my favourite Laravel instructor. Other instructors spend ages explaining their code and it usually puts me to sleep. You get straight in there - no waffle! Many thanks.

    • @joelatan5714
      @joelatan5714 2 роки тому +2

      I think that depends, if you're an experience dev, then this pace is really good, but if you're just starting, you need to understand what he's doing instead of just mimicking.

  • @MonyetLepasCh
    @MonyetLepasCh 4 роки тому +20

    dude im really glad i found this channel

  • @kiliansalomon7306
    @kiliansalomon7306 3 роки тому +1

    I am following this video for half an hour now and I love your step by step explanations!

  • @BrandonWingerAir
    @BrandonWingerAir 2 роки тому +4

    If you get an error starting the Vue app this setup currently works:
    1. In webpack.mix.js add ".vue()" so that it reads: mix.js('resources/js/app.js', 'public/js').vue()
    2. Ensure vue loader is installed or updated, run "npm i vue-loader" in command prompt
    3. New app.js file:
    require('./bootstrap');
    import { createApp } from 'vue';
    import App from './vue/app';
    const app = createApp(App);
    app.mount('#app');

    • @bbpyno
      @bbpyno 2 роки тому +1

      thx mate it helped me

    • @victordada968
      @victordada968 2 роки тому +1

      Thanks a lot.
      This saved me from being stuck.

  • @ThePublicTutorials
    @ThePublicTutorials 3 роки тому +6

    I watched this video when it was new and remembered it now as I have some more time to code now. For some reason I hadn't subscribed to your channel so it wasn't easy to find it. I'm not particularly planning to make a todo app but I wanted to say how great this content is! It really helps clearing a bunch of things up. It's the worst when tuts skip steps, not realizing that those steps are important to get things right. But this is crystal clear. Many thanks, man! Hoping to see more Laravel and/or Vue stuff on your channel.

  • @gabrieljumahjumah3135
    @gabrieljumahjumah3135 4 роки тому +10

    Oooh I have enjoyed this tutorial and learnt so much at the same time. I hope and pray one day I become as good as you are in Laravel & VueJS Scrypster. Thanks.

  • @bashircodes
    @bashircodes 3 роки тому

    I was about to learn VueJs and couldn't get where to start I already know Laravel but I want to make my projects more attractive by integrating other technologies this guy showed me a way to achieve that thanks a lot.

  • @JavedBaloch786
    @JavedBaloch786 4 роки тому +6

    Very well explained simply and pretty straight forward.
    Keep making videos / projects on Laravel & Vue.

  • @stronglonggg
    @stronglonggg 4 роки тому +19

    Short and concise, right into the content! Save me lots of time! Thanks so much!

  • @cristian702
    @cristian702 2 роки тому +1

    Finaly! I was looking for a video like this for a whole week. Subscribed.

  • @dr.kenedy-oltitia
    @dr.kenedy-oltitia 2 роки тому

    I had just began learning Laravel and vue. Coming from mern stack technologies. This tutorial enabled, e to learn crud operations within an hour

  • @TagalogHacksandTutorials
    @TagalogHacksandTutorials 3 роки тому

    I love the way you deliver this crash course.
    - Cruize: Philippines

  • @nathanstanfordsr
    @nathanstanfordsr 2 роки тому

    Just a note I just started watching this video and your voice sounds good for training. I am hoping to watch your other videos I have subscribed. Hope to learn a lot from you. Thanks for your time.

  • @jahdielcastaneda8728
    @jahdielcastaneda8728 4 роки тому +4

    Simplest and most concrete laravel vue tutorial I've seen.. thanks man.. keep em up 😎😎

  • @BillClinton228
    @BillClinton228 4 роки тому +3

    There are very few tutorials about Laravel and Vue, thanks for making this.

  • @stefanilic4178
    @stefanilic4178 4 роки тому +5

    What a video! For one hour, I'm learned so much stuff. Great tutorial, keep going.

  • @mayerlysuarezordonez5370
    @mayerlysuarezordonez5370 3 роки тому +19

    Excellent!! I had to do a change in file webpack.mix.js : add .vue() and run perfect. mix.js("resources/js/app.js", "public/js")
    .vue()
    .postCss('resources/css/app.css', 'public/css', [
    //
    ]).vue();

  • @clydecalador
    @clydecalador 2 роки тому

    Hands down best explanation I’ve seen! Subscribed.

  • @angelorigo
    @angelorigo 3 роки тому

    Most clear an concise lessons i ever found about laravel and vuejs thank you for this tutorial

  • @lesssass4478
    @lesssass4478 4 роки тому +12

    Each an every line of code is explained. Such a great tutorial.

  • @kddjk1
    @kddjk1 3 роки тому +1

    Hi Dude its very helpful to learn basic this of vue js.
    I was very confused about the 'emit' but after watching this video, confusion removed.
    Thanks for this video.

  • @armanhossain7580
    @armanhossain7580 4 роки тому +1

    You are really rock though i am a Laravel developer but i can not understand how work with vue but now i understood thnx bro

  • @AH-co4mj
    @AH-co4mj 4 роки тому +6

    liked it a lot!
    In case you want to add new items by hitting just enter you might want to add
    v-on:keyup.enter="addItem()" in the addItemForm.vue file like so:
    In case you run into some compile errors with vue setup you might want to add in the webpack.mix.js file a single
    .vue();

  • @LolForeverChannel
    @LolForeverChannel 2 роки тому +1

    This boy is programming over MacBook, and he has no issue, when I tried to my windows pc, I'm facing with too many issues. So it will be great if you made some videos that you explain also the problems that we will faced on Windows OS. Thank you!

    • @whitecountryoldroad
      @whitecountryoldroad 2 роки тому

      It's not because of the OS, it's probably because of the Vue version that you're using (among some other things that might be causing you trouble).

  • @rashmifartode702
    @rashmifartode702 4 роки тому

    I really like your video thumbnail. Its seems definition of how much we should be serious about professions. nice content. explain very well. Thank you Guru.

  • @abdulrahmanali599
    @abdulrahmanali599 3 роки тому +1

    You are amazing dude! You are currently building up my confidence for my new job! I just got a full-stack job and currently using this tutorial to familiarise myself with the frameworks! Thanks heaps mate!

  • @ZeeshanAli-cd4db
    @ZeeshanAli-cd4db 4 роки тому +2

    if you guys are checking for reviews, this is the best video for VueJS API calls.

  • @asim-gandu-phenchod
    @asim-gandu-phenchod 3 роки тому

    One word for the video "AWEEEEEEEEEEEEEEEEEEEEEEEEEEEEESOME".
    Thanks a lot for such a great content. Would definitely want to see more content from you.
    Keep it up.
    Peace

  • @borknagarchile
    @borknagarchile Рік тому

    Great tutorial and great teaching skills

  • @tomosterlund6497
    @tomosterlund6497 4 роки тому +6

    This is a brilliant tutorial! My favorite online teacher in the PHP-spectrum so far :)

  • @yunusalade6835
    @yunusalade6835 4 роки тому +4

    You've done so well scrpster. Keep it up on laravel!

  • @darksoldader
    @darksoldader 4 роки тому +3

    I've been looking for such a good explanation for a long time, thank you very much

  • @branimirdragicevic6014
    @branimirdragicevic6014 3 роки тому +8

    At the 21:30 you're making things a little bit weird in my opinion. There is obviously something wrong (item not found), but the response is 200 (all green). So for cases like this one, much better approach would be if you returned response(["message" => "Some appropriate message"], 404);. This way, you could easily implement then -> catch or try -> catch on the frontend side whenever an item was not found. This would be way more elegant and preferable approach in my opinion.
    Side note: 404 is http status code for "resource not found". There is also a handy class Symfony\Component\HttpFoundation\Response which you can import and then use it, for example, as Response::HTTP_NOT_FOUND

  • @eleetgeek5150
    @eleetgeek5150 3 роки тому

    Most comprehensive tutorial for a beginner!

  • @niazahmad1
    @niazahmad1 3 роки тому

    very good video the way of teaching is very attractive mush appreciated please carry on such video thanks again

  • @mpuco11
    @mpuco11 2 роки тому

    an actual useful video covering all necessary features, props

  • @ganztv3106
    @ganztv3106 4 роки тому +1

    Wow..thank you very much..I was able to follow all and resolve issues along the way. I have learned a lot and thats all gold. Keep doing videos to help more like me.

  • @muzika5001
    @muzika5001 2 роки тому

    Great tutorial. Had some problems ahead, because used newest php, laravel and everything on docker. But managed to get the same output after video finished. Thank you very much for this tutorial! :)

  • @23pointblank
    @23pointblank 4 роки тому +4

    Great tutorial. I think we should use another field as the :key since index changes. If you delete the first item then the second item takes its index position. item.id would be a good candidate to use as the key since its from the db and won't change.

  • @kplsharma13
    @kplsharma13 3 роки тому +1

    Your tutorial and your beard both are fantastic.

  • @malikmudassarawan
    @malikmudassarawan 3 роки тому

    Thank God, some good English finally, been roaming for one which I can clearly understand. thanks bro

  • @millikin2099
    @millikin2099 3 роки тому

    Hey thanks for the great tutorial. I have had trouble with tutorials creating a Laravel/Vue project. I was always getting these funky errors when I tried to install Vue, not with yours. Great job my friend!

  • @alpocalipse
    @alpocalipse 2 роки тому

    DUDE YOU ENLIGHTENED MY HORIZON THANK YOU SO MUCH

  • @Buildawesomewebsites
    @Buildawesomewebsites 4 роки тому +1

    Super high quality. I've been looking to learn a backend with Vue - thought Laravel was a nice choice - so glad I found this! Subbed!

  • @cesarebich
    @cesarebich 4 роки тому +7

    Man, why you've only 2.3k subs ?! Big up for you! ;)

  • @aftermathpenaut6758
    @aftermathpenaut6758 4 роки тому +14

    You can create model, migrations and controller with a single command "php artisan make:model Item -cmr"

    • @scrypster
      @scrypster  4 роки тому +2

      Definitely an awesome option!

    • @md.abulkalamazad4965
      @md.abulkalamazad4965 3 роки тому

      @@scrypster And also "php artisan make:model Item -a"

  • @fidaeamok4864
    @fidaeamok4864 Рік тому

    Wonderful video keep going i use it with vite it's cool thanks

  • @anastasiaalexandrovna8061
    @anastasiaalexandrovna8061 Рік тому

    Thanks for video. It is clear and not very fast.

  • @lekhoi8
    @lekhoi8 3 роки тому +1

    Excellent video and to the point with best practice, thank you

  • @mehdicharife2335
    @mehdicharife2335 3 роки тому +5

    At 27:08, when I run 'npm run hot', I get the following the error:
    "C:\Users\AdMiN\Desktop\todolist
    ode_modules\import-local\index.js:7
    const globalDir = pkgDir.sync(path.dirname(filename));
    ^
    TypeError: pkgDir.sync is not a function."
    I searched in StackOverflow and other similar forums but found nothing.
    EDIT: I tried adding .vue() to the webpack.mix.js file as one comment here suggested but it didn't work.

    • @mouadjanah1618
      @mouadjanah1618 Рік тому +1

      did you find the solution please

    • @mehdicharife2335
      @mehdicharife2335 Рік тому

      @@mouadjanah1618 Sorry, I don't remember. It's been two years.

  • @jkpz10
    @jkpz10 4 роки тому +3

    thanks man, this can help a lot for us still JR Developer.

  • @virgiliustancu9293
    @virgiliustancu9293 4 роки тому +1

    For all the people who use windows the command npm run dev give error if you have spaces in your project path.
    I waste a day to figure out. My project was in a folder 'Laravel projects'. Finally I renamed 'Laravelprojects' and worked.

    • @scrypster
      @scrypster  4 роки тому

      Thank you. I believe you can all put the project path in “quotations” if there are spaces

  • @victoriacassolo
    @victoriacassolo 3 роки тому

    Nice video! Congrats

  • @drksydedj
    @drksydedj 2 роки тому

    This was exactly what i was looking for!

  • @k.jflacko5720
    @k.jflacko5720 3 роки тому

    this is an amazing tutorial!. Helped me out a lot. Keep it up G.

  • @IoTRepublic
    @IoTRepublic 2 роки тому

    Excellent! It does a lot!! It would be very good if you separated the front-end app from the back-end app.
    Anyway, thanks a lot for this!

  • @cliffordmwale5782
    @cliffordmwale5782 3 роки тому +3

    Just a thought. There was no reason to add "/store" when posting a new Item. It simply goes against rules for creating a RESTful API. Your HttP verb should say the action to be done, not the route name. But great video and I love the simplicity of It all

    • @AlexG-wk3nh
      @AlexG-wk3nh 3 роки тому

      thanks for this information, what you you put instead ? or just leave it without a prefix?

  • @audinmichelcastor3975
    @audinmichelcastor3975 3 роки тому

    Very very good!!! i like the way you explained, so good job!

  • @rabbitpig9016
    @rabbitpig9016 3 роки тому

    Simple and perfect, great video and big thumb!

  • @humanbeing7624
    @humanbeing7624 3 роки тому

    This frontend language is so elegant and clean. I am only using jquery and ajax in my laravel app. How long will it take to learn this language?

  • @voliteon
    @voliteon 2 роки тому

    Great vid, clear, succinct and really helpful. Thank you!!

  • @JohnSmith-zl8rz
    @JohnSmith-zl8rz 4 роки тому +1

    After watch the whole video, mmm I see the good about VUE but at some point I think is more simple goes with pure Laravel Components, thanks!

    • @scrypster
      @scrypster  4 роки тому +1

      Thank you. You may prefer Jetstream Livewire. Check it out. You can build all your components with Laravel Blades instead of Vue. It’s pretty cool.

    • @JohnSmith-zl8rz
      @JohnSmith-zl8rz 4 роки тому

      @@scrypster I add Livewire to my current project, and well yes is nice but the true I want now try Laravel + Nuxt, yes I know is a contradictory comment after I say "pure blade components" but maybe if I go deep I will ending love Nuxt + Laravel.

  • @mexantos
    @mexantos 2 роки тому

    how about in the index items, if our data too many of them, i mean if we want to show them as pagination and make route with url segment also in the url segment for filtering and and sorting or tagging and so on and on.

  • @snovart
    @snovart 4 роки тому +3

    Thank you for this awesome tutorial! :)

  • @faizaljaleramadhan6842
    @faizaljaleramadhan6842 3 роки тому

    Thanks, you helped me learn web programming a lot!

  • @thiagopetherson1268
    @thiagopetherson1268 3 роки тому

    I'm from Brazil. Thank you very much!

  • @thatsenam9183
    @thatsenam9183 4 роки тому +1

    Nicely explained

  • @reckonroy7987
    @reckonroy7987 4 роки тому +4

    Great man, this helped a lot

  • @charlesloehle7998
    @charlesloehle7998 3 роки тому

    Very clear and concise! Thank you

  • @buiquocanh3686
    @buiquocanh3686 2 роки тому

    Thank u so muck, for shared your knowledge 😍

  • @villianfadhilahareksa5553
    @villianfadhilahareksa5553 3 роки тому

    OMG!! Dude you are a life saver!!

  • @tnorthern
    @tnorthern 3 роки тому +1

    Any reason for not capitalizing first letter of components? Isn’t that standard?

  • @basicduck
    @basicduck 4 роки тому +4

    Ahhh. This is gold!!

  • @yvessomda4547
    @yvessomda4547 3 роки тому

    Yes your tuto is really well explained, thank you.

  • @maximmaximov4772
    @maximmaximov4772 3 роки тому +2

    really unusual seeing such complicated method of coding in laravel

  • @ashimmaharjan8079
    @ashimmaharjan8079 3 роки тому +6

    ERROR in ./resources/js/app.js 4:0-28
    Module not found: Error: Can't resolve './vue/app' in 'E:\LEARN\LearnVue
    esources\js'.
    WHAT DOES THIS MEAN?? help anyone

    • @kordrijver9045
      @kordrijver9045 3 роки тому

      What worked for me:
      Thanks to @mei mei
      Had the same issue, go to your webpack.mix.js file and add .vue()
      mix.js("resources/js/app.js", "public/js")
      .vue()
      .postCss("resources/css/app.css", "public/css", [
      ]);
      And thanks to someone else on the internet
      Clear the cache
      php artisan cache:clear

    • @kordrijver9045
      @kordrijver9045 3 роки тому

      But still weird, because Scrypster does not use this in his webpack.mix.js

  • @quantumcd1045
    @quantumcd1045 3 роки тому

    Thanks for the content, a great tutorial so far.

  • @nishanmazumder6403
    @nishanmazumder6403 3 роки тому

    love u bro. please make a complete e-commerce site...

  • @M_BN287
    @M_BN287 3 роки тому

    I learnt things from this, Thank you.

  • @tigere01
    @tigere01 3 роки тому

    This is an excellent tutorial. Thank you.

  • @bigkbcao007
    @bigkbcao007 4 роки тому +1

    Thanks for this awesome video.

  • @uzairsharif7568
    @uzairsharif7568 3 роки тому

    Amazing!!!!!! LIked, Subscribed and hit the bell icon.

  • @SandmanGeek
    @SandmanGeek 3 роки тому +6

    If anyone is getting error: ERROR in ./resources/js/app.js 4:0-28
    Module not found: Error: Can't resolve './vue/app'
    Just open up webpack.mix.js and add .vue() at the end. Just like this: mix.js('resources/js/app.js', 'public/js').vue()
    .postCss('resources/css/app.css', 'public/css', [
    //
    ]);

    • @AngeloMesquita
      @AngeloMesquita 3 роки тому

      Great!

    • @MikeAshelby
      @MikeAshelby 3 роки тому

      I've tried adding that .vue() to the mix.js call, but still no joy in compiling. Any further ideas?

  • @Grovermol
    @Grovermol 3 роки тому

    You helped me a lot dude, thanks !!

  • @scandal1030
    @scandal1030 2 роки тому

    I could make this app finally!!!

  • @drsolace
    @drsolace 4 роки тому +2

    Thanks for the crash course!

  • @pimma
    @pimma 3 роки тому +1

    25:10 When running npm run hot I am getting the error: Can't resolve ./vue/app in C:\xampp\htdocs\first-app\first-app
    esources\js
    Edit: I fixed this thanks to another comment here, you need to add .vue() at the end if your webpack mix file!

  • @RicardoRodriguez-jw1yk
    @RicardoRodriguez-jw1yk 3 роки тому +1

    Great stuff... Question: are you using laravel 8 in this video? In minute 7:40 (line 17) my middleware says 'auth:sanctum' instead of 'auth:api'. What does it change?

  • @CyberElysium
    @CyberElysium 4 роки тому +1

    grate.. do more..

  • @user-gf3hf5ri8b
    @user-gf3hf5ri8b 3 роки тому

    Thank you for this video. we appreciate it

  • @anarrzayev1366
    @anarrzayev1366 3 роки тому

    simple and nice explanation!

  • @ahmedhamza9277
    @ahmedhamza9277 2 роки тому

    that's awesome, man :)

  • @gatts6727
    @gatts6727 4 роки тому +4

    Tks man, learned a lot!

  • @ovuokeaghwotu2389
    @ovuokeaghwotu2389 3 роки тому

    Thank you for making this tutorial!

  • @Noone-1980
    @Noone-1980 4 роки тому +1

    Thank you for the video. I scanned through your channel. Will you do a tutorial on a Real-Life system? Like Library System, Rental System etc.? From Login all the way to Reporting?

    • @scrypster
      @scrypster  4 роки тому +3

      I’ll see what I can do. I try really hard to keep these videos under an hour. I personally dislike the multi-hour how-to tutorials. There’s just so much to follow and remember I don’t think it’s as beneficial for learning. Maybe I could break it into a series 🤔

  • @JohnSmith-zl8rz
    @JohnSmith-zl8rz 4 роки тому +1

    Video start at 3:02 and Vue stuff start at 23:08

  • @shawon791
    @shawon791 3 роки тому

    Dude Great work

  • @MidoValo
    @MidoValo 3 роки тому +3

    i have problem in compile Module not found: Error: Can't resolve '/vue/app'

  • @JavedBaloch786
    @JavedBaloch786 4 роки тому +1

    @Scrypster your way of teaching is amazing, can you make a video/project on AntDesign in Vue.

    • @scrypster
      @scrypster  4 роки тому +1

      Thank you! I’m actually not familiar with AntDesign, but I will definitely check it out!

    • @JavedBaloch786
      @JavedBaloch786 4 роки тому

      @@scrypster I saw enterprise companies using AntDesign with React and Vue. If would be great if you make something on it.