Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint
  • create-vue新建vue2项目:npm init vue@2
  • nvm修改默认node版本:nvm alias default v16.0.0
  • 在 Vue2.7 中,Vue3 的很多功能将会向后移植,以便于 Vue2 的很多项目可以使用 Vue3 的一些很好用的新特性,比如组合式api,setup等
  • 一个 vue2.7(支持optionAPI和setup) + pinia(支持optionAPI和setup) + vant2(按需引入) + vite + ts + postCss 的 h5 项目模板
  • vant文档
  • vue-video-player文档
  • vue-mini-player文档