forked from Polymer/old-docs-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdownloadbutton.html
More file actions
31 lines (30 loc) · 1.93 KB
/
downloadbutton.html
File metadata and controls
31 lines (30 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<p class="download centered"><a href="javascript:" class="btn btn-success btn-large" alt="Download the latest {{site.project_title}}" title="Download the latest {{site.project_title}}"><i class="icon-white icon-download"></i> Get Polymer</a></p>
<polymer-ui-overlay id="dialog" backdrop class="polymer-veiled">
<div class="dialog">
<button class="btn close" overlay-toggle>x</button>
<header>
<h3 class="no-permalink">Get {{site.project_title}}</h3>
</header>
<!-- <div>
<label class="no-permalink"><i class="icon-white icon-download icon-2x" style="vertical-align: middle;"></i> download the .zip:</label>
<span><a href="https://github.com/{{site.project_title}}/polymer/releases/download/v{{site.latest_version}}/polymer-all-v{{site.latest_version}}.zip" id="download_polymer_link" class="btn btn-success">polymer-all-v{{site.latest_version}}.zip</a></span>
</div> -->
<section>
<p>The various pieces of {{site.project_title}} {{site.latest_version}} can be installed using <a href="http://bower.io/">Bower</a>.</p>
<p>1. Install the <b class="foundation">polyfills</b> <i class="icon-cogs foundation"></i></p>
<div><pre>bower install --save Polymer/platform</pre></div>
<p>2. Install the <b class="core">core sugaring</b> <i class="icon-beaker core"></i></p>
<div><pre>bower install --save Polymer/polymer</pre></div>
<p>3. Install the <b class="elements">elements</b> <i class="icon-puzzle-piece elements"></i></p>
<div><pre>
bower install --save Polymer/polymer-elements
bower install --save Polymer/polymer-ui-elements</pre>
</div>
<div><p><b>Note:</b> <code>--save</code> adds the item to your app's bower.json as a dependency.</p></div>
</section>
<footer>
<span>Latest version: {{site.latest_version}}</span>
<a href="https://github.com/Polymer/polymer/releases" class="right">Previous releases</a>
</footer>
</div>
</polymer-ui-overlay>