!!! node vue 在linux中使用注意环境变量,用户权限

本文的主要以vue3.0以上版本

1
2
3
4
5
npm install -g @vue/cli-service-global  #全局安装
vue create hello-world #创建项目(在linux中注意权限和环境变量)
npm run serve #运行 or
yarn serve #也可以运行 or
npx vue-cli-service serve #也可以运行

运行vue

Vue CLI 官网