Skip to content

Instantly share code, notes, and snippets.

@panuhorsmalahti
Created May 13, 2016 16:51
Show Gist options
  • Save panuhorsmalahti/c842f605028d6a1ed3f5b428d4628dba to your computer and use it in GitHub Desktop.
Save panuhorsmalahti/c842f605028d6a1ed3f5b428d4628dba to your computer and use it in GitHub Desktop.
Polymer script type example
<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