git clone [email protected]:meteorwebcomponents/synthesis-meteor-polymer-npm-demo.git
npm install
Do not use meteor npm install. Instead use npm install @polymer/components-name
/* imports/ui/index.js */
import "webcomponents.js/webcomponents-lite.min.js";
import "@polymer/polymer/polymer.html";
/* imports/ui/components/test-element.js */
import "@polymer/paper-button/paper-button.html";
Note that you cannot use
<link rel="import" href="@polymer/component/component.html">
from html files since synthesis considers link import paths as relative. You can give absolute path(relative path from root directory) as href though.
/* imports/ui/index.js */
import "./components/test-element.html";