mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
Add link to "Add this plugin to your app's module" and make Installation into ordered list
This commit is contained in:
parent
8a81ee08e3
commit
49ac21145a
7
scripts/docs/templates/common.template.html
vendored
7
scripts/docs/templates/common.template.html
vendored
@ -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 @>
|
||||
|
Loading…
Reference in New Issue
Block a user