An open API service indexing awesome lists of open source software.

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

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. .