pacman -S git
pacman -S nodejs
pacman -S yarn
# 查看
yarn -v
yarn cache clean
yarn global add @vue/cli
# 查看
vue -V
npm install -g yarn
# 查看
yarn -v
npm install -g cnpm
cnpm install -g @vue/cli
# 查看
vue -V
sudo npm install -g yarn
# 查看
yarn -v
sudo npm install -g cnpm
sudo cnpm install -g @vue/cli
# 查看
vue -V
vue create demo
Use history mode for router? Yes
Pick a linter / formatter config: Basic
Pick additional lint features: Lint on save
Where do you prefer placing config for Babel, ESLint, etc.? In package.json
Save this as a preset for future projects? Yes
业务咨询
技术问题