Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 908 Bytes

README.md

File metadata and controls

43 lines (31 loc) · 908 Bytes

This is a sample project. It was created with cordova and phaser. It uses webpack and @flow.

In order to build and run this project follow the further steps. It should be relevant for MacOS and Linux.

Prerequsites

  • nodejs v18.6.0
  • npm v8.13.2
  • cordova 11 (npm install -g cordova)

Steps

  1. Clone repo to your pc.
git clone https://github.com/DmitryGolovin-azur/cordova-phaser-solitaire.git
cd cordova-phaser-solitaire
  1. Install the dependencies.
npm i
  1. Add platform and build it.
cordova platform add browser # android/ios
  1. Build
cordova build browser # android/ios
  1. Run
cordova run browser # android/ios

# cordova run browser -- -livereload # run with livereload

Enjoy!

Known issue: There is a problem with audio on IOS. It may be fixed with Cordova's plugin cordova-plugin-media.