Institute of Computer Science
  1. Courses
  2. 2022/23 fall
  3. Web Application Development (LTAT.05.004)
ET
Log in

Web Application Development 2022/23 fall

  • Home
  • Lectures
  • Practicals
  • Homework Submission
  • Message Board

Installing Node.js, NPM, and creating a Vue.js project

1. Download and install Node & NPM

https://nodejs.org/en/

2. After installing them, check their versions in the command line to make sure they were successfully installed:

> node --version
> npm --version

3. To use npm for creating Vue projects, you need to install Vue globally. This can be done by using:

> npm install -g @vue/cli

4. Now, we can create a new Vue project. Navigate to the location where you want to create your project. Then, you can use the following command, but do not forget to replace "[project name]" with a name for your project.

> vue create [project name]

5. If you choose Manual installation, in the "Manually select feature", choose the following:

…
(*) Babel
(*) Router
(*) Vuex
…

6. Choose a version of Vue.js that you want to start the project with

3.x

7. Use history mode for the router (..)?

No

8. Where do you prefer placing config for ….

In dedicated config files 
….

9. When the installation is over, navigate to the newly created project (> cd project name). Then, you can run your newly created application

> npm run serve

10. You will be provided with the address/port where your application is running (Should be http://localhost:8080/), just open it in your browser and you should see the application.

  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment