vue项目环境搭建npm install -g vue-cli //全局安装脚手架npm init webpack your-project //初始化webpackcd your-projectnpm install //安装npm run dev //运行