<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Ionic Framework Intro]]></title><description><![CDATA[<p dir="auto"></p><section class="align-center"><img src="/assets/uploads/files/1547220315713-start-using-ionic-00001-resized.jpg" alt="0_1547220209312_start-using-ionic-00001.jpg" class=" img-responsive img-markdown" /></section><p></p>
<p dir="auto"><strong>What is Ionic Framework</strong></p>
<p dir="auto">Ionic is a complete open-source SDK for hybrid mobile app development created by Max Lynch, Ben Sperry and Adam Bradley of Drifty Co. in 2013. The original version was released in 2013 and built on top of AngularJS and Apache Cordova. The more recent releases, known as Ionic 3 or simply "Ionic", are built on Angular. Ionic provides tools and services for developing hybrid mobile apps using Web technologies like CSS, HTML5, and Sass. Apps can be built with these Web technologies and then distributed through native app stores to be installed on devices by leveraging Cordova.</p>
<p dir="auto"><strong>Installing Ionic</strong></p>
<hr />
<p dir="auto">Ionic apps are created and developed primarily through the Ionic command line utility (the “CLI”), and use Cordova to build/deploy as a native app. This means we need to install a few utilities to get developing.</p>
<p dir="auto"><strong>Installing Node and NPM</strong></p>
<p dir="auto">The quickest way to get Node and NPM installed on your machine is through the <a href="www.nodejs.org">NodeJS installer</a>. After installing open a terminal and run <code>npm --version</code> and <code>node --version</code> to verify you have everything installed correctly.</p>
<p dir="auto"><strong>Installing Ionic CLI</strong></p>
<p dir="auto">Run below command on your terminal</p>
<p dir="auto"><code>$ npm install -g ionic cordova</code></p>
<pre><code>Note: The -g means this is a global install, so for Windows you will need to open an Admin command prompt. For Mac/Linux, you might need to run the command with sudo.
</code></pre>
<p dir="auto"><strong>Creating Ionic App</strong></p>
<hr />
<p dir="auto">To create a blank app run below command</p>
<p dir="auto"><code>ionic start helloWorld blank</code></p>
<ul>
<li><code>start</code> will tell the CLI create a new app.</li>
<li><code>helloWorld</code> is the App name.</li>
<li><code>blank</code> is starter template</li>
</ul>
<p dir="auto">Along with the blank template, Ionic also provides the following official templates:</p>
<p dir="auto"><code>tabs</code> : a simple 3 tab layout<br />
<code>sidemenu</code>: a layout with a swipable menu on the side<br />
<code>blank</code>: a bare starter with a single page<br />
<code>super</code>: starter project with over 14 ready to use page designs<br />
<code>tutorial</code>: a guided starter project</p>
<p dir="auto">If you don’t specify a template at the start, you will be prompted to pick one.</p>
<p dir="auto"><strong>Running our App</strong></p>
<hr />
<p dir="auto">To run your app, cd into the directory that was created.</p>
<p dir="auto"><code>$ cd helloWorld</code><br />
<code>$ ionic serve</code></p>
<p dir="auto">In the next article i'll go over the project structure created by the <code>ionic start</code> command</p>
<p dir="auto"><strong>References</strong></p>
<hr />
<p dir="auto"><a href="https://ionicframework.com/docs/intro/installation/" target="_blank" rel="noopener noreferrer nofollow ugc">Official Ionic Framework Docs</a></p>
]]></description><link>https://lankadevelopers.lk/topic/87/ionic-framework-intro</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 21:52:47 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/topic/87.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Jan 2019 15:34:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ionic Framework Intro on Sat, 12 Jan 2019 14:31:38 GMT]]></title><description><![CDATA[<p dir="auto">Fatta , thanks bro</p>
]]></description><link>https://lankadevelopers.lk/post/611</link><guid isPermaLink="true">https://lankadevelopers.lk/post/611</guid><dc:creator><![CDATA[Nubelle]]></dc:creator><pubDate>Sat, 12 Jan 2019 14:31:38 GMT</pubDate></item><item><title><![CDATA[Reply to Ionic Framework Intro on Sat, 12 Jan 2019 13:00:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/130">@lkdev</a> Welcome bro..</p>
]]></description><link>https://lankadevelopers.lk/post/609</link><guid isPermaLink="true">https://lankadevelopers.lk/post/609</guid><dc:creator><![CDATA[dev_lak]]></dc:creator><pubDate>Sat, 12 Jan 2019 13:00:13 GMT</pubDate></item><item><title><![CDATA[Reply to Ionic Framework Intro on Sat, 12 Jan 2019 12:28:38 GMT]]></title><description><![CDATA[<p dir="auto">Thnx bro, Ionic is the best framewrok for HTML5 Hybrid mobile app development.</p>
]]></description><link>https://lankadevelopers.lk/post/608</link><guid isPermaLink="true">https://lankadevelopers.lk/post/608</guid><dc:creator><![CDATA[lkdev]]></dc:creator><pubDate>Sat, 12 Jan 2019 12:28:38 GMT</pubDate></item></channel></rss>