Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Can I use brick without bower? #248

Open
groovecoder opened this issue Aug 7, 2014 · 4 comments
Open

Can I use brick without bower? #248

groovecoder opened this issue Aug 7, 2014 · 4 comments

Comments

@groovecoder
Copy link

I've never used bower, and I want to use a brick component (brick-calendar) on an existing project. Can I use it without adding bower to my project?

@lmorchard
Copy link

Sure, but you'd just be chasing down the dependencies manually instead. Bower's a package manager like pip or npm, doesn't do anything at run time for an app on the client side.

@potch
Copy link
Member

potch commented Aug 7, 2014

Technically, you can! We don't distribute platform.js, but if you were to grab everything out of the dist directory, all the dependencies you need to run brick (aside from platform) are there. We're working on a 'minified' version of brick, which will be 2 files (html and css), and then a version that is just JS and CSS for environments where HTML Imports is a Bad Thing.

@groovecoder
Copy link
Author

Hmm ... then this is a feedback thread. I wanted/tried to use brick-calendar on @wfwalker's thecount project. But I got to the bower_components part of brick-calendar Usage and I got scared off.

I went with bootstrap-datepicker because I understood how to add it - i.e., just add the css and js resources to the page.

I would love to be able to add something like:

<script src="//cdn.jsdelivr.net/brick/1.0.0/platform.js">
<link rel="import" href="//cdn.jsdelivr.net/brick/1.0.0/calendar.html">

@fwenzel
Copy link

fwenzel commented Aug 20, 2014

That's similar to #193, I think, though not quite the same.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants