* Add demo

* Fix stuff

* Lint

* Typescript and demo card

* More fixes

* Allow switching through configs

* Lint

* Lint2

* Add two demo configs

* Lint

* Lint
This commit is contained in:
Paulus Schoutsen
2019-01-18 21:24:32 -08:00
committed by GitHub
parent 65359aabe3
commit bb71fe0bec
84 changed files with 26510 additions and 1087 deletions

19
demo/src/entrypoint.ts Normal file
View File

@@ -0,0 +1,19 @@
import "@polymer/paper-styles/typography";
import "@polymer/polymer/lib/elements/dom-if";
import "@polymer/polymer/lib/elements/dom-repeat";
import "../../src/resources/hass-icons";
import "../../src/resources/ha-style";
import "../../src/resources/roboto";
import "../../src/components/ha-iconset-svg";
import "./ha-demo";
/* polyfill for paper-dropdown */
setTimeout(
() =>
import(/* webpackChunkName: "polyfill-web-animations-next" */ "web-animations-js/web-animations-next-lite.min"),
1000
);
document.body.appendChild(document.createElement("ha-demo"));