Environment to prepare

For those of you like me who haven’t started using VUE3 yet, the version hasn’t been upgraded yet. First, you need to confirm the VUE version of your computer and ensure that the version queried by the command line is higher than 4.5.X

Vue --versionCopy the code

If the version is lower:

npm install -g @vue/cli

// OR
yarn global add @vue/cli
Copy the code

At this point, the VUE version should be up to date and the project can be created.

Set up the project

vue create vuelearndemo
Copy the code

These configurations can be supported or not based on your own needs.

Press Enter, create, and execute the two lines prompted to get the project up and running.