Next lesson playing in 5 seconds

  • Overview
  • Transcript

4.1 Conclusion

Adding Vue.js to an existing app is well worth the time and effort. I hope that I've been able to share some tools and techniques that will make it easier for you to enhance your own Laravel app!

Thank you so much for watching this course. Please feel free to contact me via Twitter or the Envato Tuts+ forums if you have any questions.

4.1 Conclusion

AddingVue.js to an existing application is a notable goal. Because anything that enhances a user's experience with your application is well worth the time and effort. One thing that I want to point out is how we approach our enhancements. If you'll remember, every time we improved a particular Vue, we did so by simply passing the existing Vues data to the component. Now, we could have simply loaded the component and then retrieved our data with Ajax. But the user could perceive a lag from the time that the page loads and then finally seeing something on the screen. With our approach, the user gets almost immediate results because the page and the component in data are all loaded together. Plus, we don't have to spend a lot of time refactoring our controls. I mean, yes, some work may need to be done in the back end, but not nearly what there could be. Remember that our goal was to not create a single page application. We simply wanted to enhance our application. Thank you so much for watching this course. If you have any questions, please feel free to contact me through Twitter or the Tuts+ forums. From all of us here at Tuts+, thank you, and I will see you next time.

Back to the top