1. Vue3源码地址:
2. 推荐通过git clone的方式下载
git clone https://github.com/vuejs/vue-next
3. 安装依赖
- 如果没有安装yarn,先通过
npm install yarn -g安装 - 执行
yarn install --ignore-scripts - 打包该项目
yarn dev
打包前先修改package.json
打包成功后可通过package\vue\dist\vue.global.js调试代码
git clone https://github.com/vuejs/vue-next
npm install yarn -g安装yarn install --ignore-scripts
yarn dev