Multiple ways to start a project
There are various methods to start a project as shown in the following sections.
Method 1 – using CDN-hosted library files
An Ionic App majorly requires the Ionic library JS and CSS files for development. These can be referenced directly from the CDN so that our app always uses the latest versions. We do not even require to set up our local environment for this method.
Note
This method should only be used for developing Mobile Apps using Ionic. To develop Hybrid Mobile Apps you would need to use Ionic CLI.
Ionic library is built on top of the AngularJS framework and hence we need to include its library files too. Ionic library includes two types of JS/CSS files, ones that have AngularJS code bundled to it and the others where the AngularJS code is segregated and needs to be included separately. The link to the Ionic CDN website where the URLs for each of the library files mentioned is http://code.ionicframework.com/.
We have to include the JavaScript file...