Created
May 13, 2016 16:51
-
-
Save panuhorsmalahti/c842f605028d6a1ed3f5b428d4628dba to your computer and use it in GitHub Desktop.
Polymer script type example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../polymer/polymer.html"> | |
<dom-module id="hello-world"> | |
<template> | |
<h1>Hello</h1> | |
</template> | |
</dom-module> | |
<script type="module"> | |
import { assign } from "./lib/lodash/lodash.js"; | |
Polymer({ | |
is: 'hello-world' | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment