An example Ionic Framework demo using Contenta CMS as a backend.
This project also uses contenta-angular-service, This enables writing code at a high level and never making http calls directly.
It's highly recommended that you use this example application on a mobile device, so that you get to see all the great native features Ionic provides!
- Install contenta_jsonapi locally
- Edit src/app/app.config.ts and replace
baseUrl
with your JSON API URL (ex: http://localhost:8888/api) - Ensure that the latest Node 6 LTS and NPM 3+ are installed
- Run
sudo npm install -g ionic@latest
- Run
npm install
- Run
ionic serve -p 1234
where "1234" is an unused port - You're done!
Ionic Framework allows you to build packages fit for publishing on the App and Google Play Store. Please read the Ionic documentation for more details.
This application includes the minimum headers required to be added to your phone's home screen and behave as a native application. That said, service workers, additional PWA tags, and offline support has not been added yet.