Closed Esya closed 11 years ago
Thanks!
do I have to run the command "bower register json-human https://github.com/marianoguerra/json.human.js.git" ?
Yup, you do!
Then people can add it to their project (Provided they have require.js
) by doing this :
require.config({
paths: {
"crel": "bower_components/json-human/lib/crel"
}
});
require(["bower_components/json-human/src/json.human"], function (JsonHuman) {
//JsonHuman loaded
});
And the css
<link rel="stylesheet" type="text/css" href="bower_components/json-human/css/json.human.css">
done!
thanks for all the help!
No problem! Thanks for sharing your library :+1:
Json.human.js does not support Bower, with this pull requests everyone will be able to add it to their projects just by doing
bower install json-human
.Once this is merged, the following needs to be ran :
bower register json-human https://github.com/marianoguerra/json.human.js.git