-
Notifications
You must be signed in to change notification settings - Fork 304
Can I use non-component based libraries? #624
Comments
there is no real component registry, all the components are just on github. |
Thanks a lot for explaining. I forked and added component.json file. Can you please glance and see if it looks right before I make a pull request: https://github.com/shobhitg/dc.js/blob/develop/component.json Also I have a question, is there a way I can tell component to use "dc.js" for development mode and "dc.min.js" for production mode? |
You can test it just by run
|
component have two main features:
If you define dependencies via the copmonent.json you using it as a package manager. In this scope you should never provide minified files. To distinguish between your enviroments: dev and prod you can use component as a build tool. In you process flow this step is after the part of managing the dependencies. Component has no built-in minify features if you using it via the CLI (,yet) |
This is super basic question.
I am new to component and trying to use dc-js/dc.js.
From what I understand is that it isn't registered in the component's registry.
What would it take for me to be able to use it as a component.
Would you guys recommend to use it directly from CDN locations?
http://cdnjs.cloudflare.com/ajax/libs/dc/1.7.0/dc.js
http://cdnjs.cloudflare.com/ajax/libs/dc/1.7.0/dc.css
Or what steps should one take to make this library registered into component's registry?
Thanks for help.
The text was updated successfully, but these errors were encountered: