Skip to content

Commit

Permalink
docs: update import doc to point to production build for concatenatin…
Browse files Browse the repository at this point in the history
…g imports
  • Loading branch information
hotforfeature committed Apr 28, 2017
1 parent 81248f4 commit 0396221
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/importing-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ index.html

`<link>`s in Angular templates will not work since Angular pre-processes those templates.

## Vulcanize?

At the moment there is no build tool like vulcanize to concatenate all imports into a single HTML file. The app must include the `bower_components/` directory in its build.

## Element Bundles

The app's `index.html` will start to get pretty crowded importing all the needed elements. Origami suggests defining an `elements.html` file to organize imports.

You can then use this single `elements.html` to [create a bundled production-ready import](production-build.md).

src/assets/elements.html
```html
<link href="assets/bower_components/paper-button/paper-button.html" rel="import">
Expand Down

0 comments on commit 0396221

Please sign in to comment.