Spring Boot + Vue JS Tutorial: How to include Vue in your next Spring Boot Application
HTML-код
- Опубликовано: 10 сен 2024
- In this tutorial, we will create a new Spring Boot Application and drop Vue in a static file. From there we will use Vue to call a REST API endpoint we set up to display a list of things.
RESOURCES & LINKS MENTIONED IN THIS VIDEO:
Spring Boot in Visual Studio Code: • How to create a Spring...
CONNECT WITH ME:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/dan...
Instagram: / thedanvega
LinkedIn: / danvega
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️
Thank you soo much. Excited for more videos on spring-boot with vue.
I'm a big fan of Java streams and lambdas. I work with Symfony framework (php) I decided to use it as front end framework. Now I build apis in Spring boot and I consumed them in Symfony + Vuejs.
Hey, it was a great video. I came to know vue at least some basics in a less time span. I was trying to learn spring on my own with thymeleaf, and was stuck and didn't go forward. Now i can use this alternate stuff and build my own application. Thanks a lot.
Hi, thank you for the tutorial. It was my first look into vue js with Spring Boot.
Thanks Dan, this video was my first contact with Vue js!
I'm trying to work on put and patch with axios but it's throwing invalid cors request..any solution?
Thank you! Succinct and very helpful tutorial. Hope to see more from you.
Thank you for your kind words. Are you interested in more Spring Boot + Vue tutorials?
Thanks, amazing content!
Glad you liked it!
Good Stuff! Really helped me alot! Thanks!
Hi,
Can you please provide the source code location of above tutorial.
Cool video. Thank you.
Thanks for watching!
What about Vue Router and Vuex? Can I use them with this setup?
Yes, you can have a front end application that uses vue router and vuex and just uses Spring Boot for the backend API.
Hello Dan Vega, What's the name of this theme that you are using?
Synthwave 84... I actually have a video coming up this week about that and how to find new themes.
Hello @Dan Vega!
Thank you so much for the video - it is great :)
Could you please tell if you have a tutorial on the topic of choosing the correct way of combining frameworks?
E.g: when it is better to use Spring Boot as backend and Vue injected in HTML or when to use SB maven plugin to have 2 frameworks in one synchronized or when SB is not needed and REST can be done through Express for Vue etc. :)
Thank you!
That is a loaded question so I will give you a short answer and then put together a video to answer this in detail. In short I usually create a REST API in Spring Boot that many applications can connect to so it is separate of any front-end code. This could be done in something like Express but I love Spring so It's what I usually reach for. I will try and come up with a list of when to use one over the other and put it on my backlog of videos to make! Thanks for watching and the comment.
@@DanVega Thanks a lot for your time and answer!! Will be really happy to see the video in the future :)
Great video.
Thank you, glad you enjoyed it.
would love this in Kotlin.
add to pom.xml / build.gradle Spring Boot Developer Tools dependancy
hi could you please elaborate?
Do not make views in folders front-end
Can you elaborate on that, please? There is no folder here called front-end?