During this session, you will learn how to build components in Vue to avoid writing repetative code.
This session takes place on the 7th of Nov 14:00 UTC.
This week, you will use the Vue CLI to create a new Vue project. First, you will need to install the Vue CLI globally.
Installing something globally, means that you do not just install it inside a certain directory, for example your project folder, but make it available on your entire computer.
In the following steps, we assume you already have Yarn installed:
yarn global add @vue/cli
.vue create my-project
.vue serve
Alternatively, you can use the graphical user interface to create a new project. Start the GUI with this command: vue ui
For next week, prepare the following together with your fellow students:
We have not created a full example project for this week. However, we have added some instructions on how to easily set up a Vue project using the Vue CLI