Development Environment Setup Vue.js, Nodejs — Javascript Version

All you need to know while developing Vue Project With NodeJS backend

Bhargav Bachina
Bachina Labs

--

Photo by Christopher Gower on Unsplash

When you are working on any project the way you set up your development environment is as important as packing and shipping for production. We can save a lot of time if your development environment is seamless and right. You need to automate your development environment as much as possible so that you can focus on what’s important which is your functionality.

In this post, we will see how we can set up the development environment for Vue with NodeJS backend and how we can automate any repeated tasks.

  • Introduction
  • Prerequisites
  • Example Project
  • Running Vue on port 8080
  • Running NodeJS Server on port 3080
  • Interaction between Vue and NodeJS
  • Automate Your Tasks
  • Run it with Docker-compose
  • Key Takeaways
  • Summary
  • Conclusion

Introduction

When it comes to developing your Vue app with nodejs backend you should use two separate ports. As shown in the following figure, Vue…

--

--