Vue 3.0 installation

vue3.0 beta has come out, many friends can’t wait to experience it, let’s install it first;
1. vue3.0 scaffolding vue-cli requires node.js version 8.9 or higher, friends can do it themselves Check your node version;

node -v

Mine is using v12.16.2
2. Install vue-cli;

cnpm install @vue-cli -g

3. Check the current scaffolding version of vue

vue --version

My side is vue/cli 4.5.8

4. Initialize the vue3.0 project

vue create vue03

Then keep pressing the "enter" button to install by default. After the installation is complete, it will prompt "cd vue 03 npm run serve"
Insert picture description here

You're done, the installation of the vue3.0 trial version project is complete

Guess you like

Origin blog.csdn.net/weixin_43169949/article/details/109398579