You can deploy the demo site to the following services.
$ git clone git@github.com:getshifter/ionic-react-wordpress.git
$ cd ionic-react-wordpress $ npm install
$ npm startGeneral configuration file is src/config.ts.
You can update properties for your WordPress site.
classConfig{getpostURLPrefix(){return'news'}getpageURLPrefix(){return''}getwordpressURL(){return'https://central.wordcamp.org/wp-json'}getwpClient(){returnnewwp({endpoint: this.wordpressURL})}}$ npm run buildWe can run it as a Desktop application
$ yarn run build && npx cap copy
$ npx cap open electron$ yarn run build && npx cap copy
$ cd electron
$ npx electron-packager . sample --platform=darwin --arch=x64
$ open ./sample-darwin-x64