Open marocas opened 8 years ago
If you run the task with verbose you'll see it failing to find the json - grunt compile-handlebars --verbose
Also as icon-adv is a key i don't believe you can actually get the value of the key itself, can you add a property to icon-adv like so:
{
"icon-adv": {
"name": "icon-adv",
"x": 86,
"y": 82,
"width": 43,
"height": 39,
"source_image": "html/_images/icons/icon-adv.png",
"image": "../../../images/icons.png",
"total_width": 224,
"total_height": 186,
"escaped_image": "../../../images/icons.png",
"offset_x": -86,
"offset_y": -82,
"px": {
"x": "86px",
"y": "82px",
"offset_x": "-86px",
"offset_y": "-82px",
"height": "39px",
"width": "43px",
"total_height": "186px",
"total_width": "224px"
}
},
}
Hello, im generating my html, but my utilities data.json are not getting passed. I have installed the latest version, gch, but even so, if i have more than one data.json, gch aint getting the info.
here is my config:
Am i missing something here?
BTW, how can i get from a json file, the name of the first node? I want to get the "icon-adv" name?
Best regards, Mário Silva.