You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.
Hello, about yo polymer:seed, I'm a big fan of the fancy laser gun and the tutorials comments but it's pretty annoying to have to erase these hundreds of lines each time. Would it be possible to have the option to use a less crowded boilerplate ? Something simple like :
my-element.html
<!--@licenseCopyright (c) 2015 The Polymer Project Authors. All rights reserved.This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txtThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txtThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txtCode distributed by Google as part of the polymer project is alsosubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt--><linkrel="import" href="../polymer/polymer.html"><!--An element providing a solution to no problem in particular.Example: <my-element></my-element>@demo demo/index.html@hero hero.svg--><dom-moduleid="my-element"><template><style>
:host {
display: block;
box-sizing: border-box;
}
</style></template><script>Polymer({is: 'my-element',properties: {}});</script></dom-module>
demo/index.html
<!doctype html><!--@licenseCopyright (c) 2015 The Polymer Project Authors. All rights reserved.This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txtThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txtThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txtCode distributed by Google as part of the polymer project is alsosubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt--><html><head><metacharset="utf-8"><metaname="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes"><title>my-element Demo</title><scriptsrc="../../webcomponentsjs/webcomponents-lite.min.js"></script><linkrel="import" href="../my-element.html"></head><bodyunresolved><my-element></my-element></body></html>
That's basically the point where I would do an 'init commit'.
The text was updated successfully, but these errors were encountered:
Hm yeah i see what you're saying. One of the things we've tried to do with the generator is not create our own templates but instead pull in other canonical projects. We used to have all of our own templates and keeping everything in sync was annoying (and meant bugs got filed in two places). I'm going to have to think about this for a bit.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, about yo polymer:seed, I'm a big fan of the fancy laser gun and the tutorials comments but it's pretty annoying to have to erase these hundreds of lines each time. Would it be possible to have the option to use a less crowded boilerplate ? Something simple like :
my-element.html
demo/index.html
That's basically the point where I would do an 'init commit'.
The text was updated successfully, but these errors were encountered: