Skip to content
On this page

快速上手

1、node 版本要求

推荐 16.19.0+ 以上的版本,可以使用 nvmnvm-windows 在同一台 PC 上管理多个 node 版本,方便快速切换。

2、包管理器

尽量使用 yarn 或者 pnpm,本项目仅保证在 yarn 或 pnpm 下正确运行,npm 涉及到网络环境等各种情况的限制不做过多考虑。如要使用 npm 请不要切换淘宝镜像,会有各种奇怪的 bug。

3、启动项目

shell
# 拉取项目
git clone https://github.com/wiiai/vue-h5-template

# 安装依赖
yarn install

# 启动项目
yarn dev

Released under the MIT License.