PolymerElements / app-layout

App layout elements
https://webcomponents.org/element/PolymerElements/app-layout
597 stars 311 forks source link

How to include app-layout in my html #550

Closed ebatgerel closed 6 years ago

ebatgerel commented 6 years ago

Description

Got a problem with including

Expected outcome

import loads correctly

Actual outcome

throws error on console and cannot using.

Live Demo

Steps to reproduce

  1. installed app-layout
  2. import html
  3. refresh my page

I using it like:

    <link rel="import" href="../../bower_components/app-layout/app-layout.html">

but it gives me:

capture

keanulee commented 6 years ago

Is "bower_components/app-layout/app-layout.html" being served correctly by your server? Not enough info to debug.

ebatgerel commented 6 years ago

@keanulee it was my mistake. I didn't put webjar in my pom.xml.