https://github.com/ymzuiku/laya-three-cli
layaari cli
https://github.com/ymzuiku/laya-three-cli
Last synced: about 2 months ago
JSON representation
layaari cli
- Host: GitHub
- URL: https://github.com/ymzuiku/laya-three-cli
- Owner: ymzuiku
- License: mit
- Created: 2018-07-22T12:09:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-04T11:02:30.000Z (over 6 years ago)
- Last Synced: 2025-01-20T17:48:31.058Z (3 months ago)
- Language: JavaScript
- Size: 3.57 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Use Parcel make Layaair Game
[中文文档](./READMECN.md)
> Package power Parcel and [parcel-plugin-change-file](https://github.com/ymzuiku/parcel-plugin-change-file)
## :fire: Feature
- hot reload H5 and WeChat
- build WeChat project by cli
- use any IDE code your project## :egg: Install
```sh
$ npm install -g laya-three-cli
```## :package: Create Project
```sh
$ laya-three-cli your-project
```## :rocket: Start H5 Game
```
$ yarn install
$ yarn start
```
And, open `http://localhost:1234`## :rocket: Start WeChat Game
```sh
$ yarn install
$ yarn core
$ yarn wechat
```And, use `微信开发者工具` open `dev-wechat` dir
## :wrench: Update LayaAir
LayaAir is no update source code in npmjs.com, if you need update Layair source code, please do this:
- open [LayaAir Web](https://ldc.layabox.com/layadownload/?type=layaair-LayaAir%201.7.19.1%20beta) , and download new package
- copy libs in you project, cover `bin/libs`
- done!## :see_no_evil: Last
Welcome to [laya-three-cli](https://github.com/ymzuiku/laya-three-cli) submit your PR, or give a star. .