Polymer component with bower and grunt. How to Generate a dist ?

113 views
Skip to first unread message

ignacio...@gmail.com

unread,
Aug 24, 2014, 7:13:29 AM8/24/14
to polym...@googlegroups.com
Hi,

I dont know if this is the right place. If it is not , sorry.

Im using Grunt and bower to manage my projects and using Polymer components. When I generate the distribution the polymer components are not copied to the dist. I can add a task for do it, but I want to know if something like copied the used polymer componets already exists for grunt.

Thanks in advance,
Ignacio

Rob Dodson

unread,
Aug 25, 2014, 7:22:06 AM8/25/14
to Ignacio Manzano, polymer-dev

No not yet. By the way, check out the Polymer Yeoman generator. It will handle vulcanizing your elements and has a bunch of other useful features.

https://github.com/yeoman/generator-polymer

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/fccacccb-f0d1-470a-86e7-75a0fc613a38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ignacio Manzano

unread,
Aug 25, 2014, 7:24:17 AM8/25/14
to Rob Dodson, polymer-dev
Hi,

Thanks, yes Im using yeoman polymer generator. But I dont know how to manage the distribution for the polymer elements. Right now I have to copy all polymer components to dist in order to avoid fails during initialization.

Thanks
Ignacio

Rob Dodson

unread,
Aug 25, 2014, 7:29:00 AM8/25/14
to Ignacio Manzano, polymer-dev

Are you using the latest version (0.4.0)?

Ignacio Manzano

unread,
Aug 25, 2014, 7:33:15 AM8/25/14
to Rob Dodson, polymer-dev
Im using the recommended version in the documentation Polymer 0.3.5  (http://www.polymer-project.org/docs/start/getting-the-code.htmlInstalling with Bower section)

Rob Dodson

unread,
Aug 25, 2014, 7:51:18 AM8/25/14
to Ignacio Manzano, polymer-dev

Sorry I meant the Yeoman Polymer Generator v0.4.0. I did a lot of work to get the build process cleaned up in that version.

Ignacio Manzano

unread,
Aug 25, 2014, 7:52:58 AM8/25/14
to Rob Dodson, polymer-dev
No,  I have the old version. Should I regenerate my project from scratch or just updating is enough ?

Rob Dodson

unread,
Aug 25, 2014, 7:55:13 AM8/25/14
to Ignacio Manzano, polymer-dev

Probably the easiest solution is to generate a new project and copy your stuff over. The folder structure is important for the build process. I'm hopping on a flight but will try to respond to any issues you report when I land.

Ignacio Manzano

unread,
Aug 25, 2014, 7:55:40 AM8/25/14
to Rob Dodson, polymer-dev
Thanks!! 
Reply all
Reply to author
Forward
0 new messages