sudo npm install -g @vue/cli-init
vue init webpack my-project
cd my-project/
npm install
npm run dev
sudo npm install -g @vue/cli-init
vue init webpack my-project
cd my-project/
npm install
npm run dev
转载于:https://www.cnblogs.com/pythonPath/p/11531862.html