Open groovecoder opened 10 years ago
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.
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.
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">
That's similar to #193, I think, though not quite the same.
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?