Components directory?

57 views
Skip to first unread message

Matt Bourne

unread,
Jan 22, 2014, 9:46:03 AM1/22/14
to polym...@googlegroups.com
I'm trying to run the examples like Pica on my local server when I do I see that there is a missing components directory being referenced. Is this something being created by bower during build? If so I think that is regressive. I should be able to run code from github without using a particular build methodology?

Apologies if this is a simple error on my part.

Rob Dodson

unread,
Jan 22, 2014, 12:00:35 PM1/22/14
to polym...@googlegroups.com
Hi Matt,

The components directory is created when you run bower install. Using a package manager in this instance is helpful because it means we don't have to check in all of the required packages, and then manually version them up every time something changes (which is quite frequent since we're still in the early days of Web Components). Hope that helps!

Eric Bidelman

unread,
Jan 22, 2014, 12:10:49 PM1/22/14
to Rob Dodson, polymer-dev, msc...@google.com

+mscales

`git clone g...@github.com:Polymer/pica.git; cd pica; bower install` should get you all set up.

Bower is not a build tool, it's a client-side dependency manager. In the early days of Polymer, we were heavy users of submodules. As Rob mentioned, it became a nightmare to rev up the dependencies. 

FWIW, we've been talking with the Bower team to support this kind of app install use case. Hopefully in the future, one can just run: bower install Polymer/pica



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/74a7261d-8e33-45d9-b1f3-4e78924ccdb8%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Matt Bourne

unread,
Jan 22, 2014, 1:25:57 PM1/22/14
to polym...@googlegroups.com, Rob Dodson, msc...@google.com
ok typing bower install wasn't too hard ;) thanks for the heads up - I have been avoiding command line tools as I think they mystify web development and create a new set of dependencies (btw I totally get their use in a large project) but I could just be being stubborn.

Thanks again.
Reply all
Reply to author
Forward
0 new messages