Skip to content

Commit

Permalink
Use canonical url
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Jun 16, 2014
1 parent b72083f commit 9586bea
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions articles/distributing-components-with-bower.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ subtitle: How to package your elements for broader sharing
article:
author: addyosmani
published: 2014-03-07
#updated: 2013-12-06
updated: 2014-06-16
polymer_version: 0.2.0
description: How to package your elements for broader sharing
tags:
Expand Down Expand Up @@ -107,10 +107,12 @@ An alternative to running the above `bower install` line is adding a reference t
### 3. Referencing dependencies {#reference-dependencies}


We recommend custom {{site.project_title}} elements live and be referenced relative to the element’s location inside bower_components:
We recommend custom {{site.project_title}} elements live in the same folder as your other components. That way, when your element is installed by another user, it references paths relative to the element’s install location (typically bower_components):

{% raw %}
<link rel="import" href="bower_components/polymer/polymer.html">
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">

<polymer-element name="polymer-demo">
<!- ... -->
{% endraw %}
Expand Down

0 comments on commit 9586bea

Please sign in to comment.