A web client that provides interactions with the Ionic platform. Check out our docs for more detailed information.
Using the latest Ionic CLI:
Run the following commands in terminal:
# first you need to install the web client
$ ionic add ionic-platform-web-client
# now you can register your app with the platform
$ ionic io init
// You need to initialize the platform before you can start using any of the services
var io = Ionic.io();
// You can now setup the current app user
// If no user has been previously saved, a fresh user object is returned,
// otherwise the last [current] saved user will be returned.
var user = Ionic.User.current();
Head over to our docs when you're ready to integrate services like analytics, push, or deploy.
Head over to our gitter.im channel if you require assistance or have any questions about the platform services.
- Install Dependencies
npm install
- Run
gulp build