Add link to "Add this plugin to your app's module" and make Installation into ordered list

This commit is contained in:
Jan Piotrowski 2017-05-05 13:31:16 +02:00
parent 8a81ee08e3
commit 49ac21145a

View File

@ -175,9 +175,14 @@ docType: "<$ doc.docType $>"
<# --- Install commands --- #>
<h2>Installation</h2>
<pre><code class="nohighlight">$ <@ if prop.install @><$ prop.install $><@ else @>ionic plugin add --save <$ prop.plugin $><@ endif @>
<ol>
<li style="font-size:15px; margin-bottom:10px;">Install the Cordova and Ionic Native plugins:<br>
<pre style="margin-top:10px;"><code class="nohighlight">$ <@ if prop.install @><$ prop.install $><@ else @>ionic plugin add --save <$ prop.plugin $><@ endif @>
$ npm install --save @ionic-native/<$ doc.npmId $>
</code></pre>
</li>
<li><a href="https://ionicframework.com/docs/native/#Add_Plugins_to_Your_App_Module">Add this plugin to your app's module</a></li>
</ol>
<# --- Plugin supported platforms --- #>
<@ if prop.platforms @>