官方地址:https://tencent.github.io/wepy/index.html 步骤 1.安装全局脚手架及建立运行项目 npm install wepy-cli -g
mkdir demos && cd demos
wepy init standard demo1
cd demo1
npm install
npm run dev
2.打开微信小程序,项目目录为demo1项目根目录(注意,虽然完成第一步后,wpy等文件会被编译到dist目录,但小程序会读取根目录下的配置文件自动读取dist目录) 3.修改.wpy文件,保存,脚手架自动热更新html