Giter Club home page Giter Club logo

Comments (9)

david-zacharias avatar david-zacharias commented on August 11, 2024

So you have an array of objects in your JSON data, right? I guess so.

Do you also want to have one main file that links to the generated files?

If yes, you can use the _bake-attribute for generating extra files from within the _foreach-loop in your main file for each object.

If not, you need to run bake for each file. Which is possible with the Grund-files syntax. The problem I see and you probably stumbled upon is how to tell bake which object to use for each file. Currently I see no way to do this, sorry. Maybe @MathiasPaumgarten can come up with a hack that will do the trick.

from grunt-bake.

webnet2 avatar webnet2 commented on August 11, 2024

I tried the _bake attribute but does not seem to work though. No pages were generated.

from grunt-bake.

david-zacharias avatar david-zacharias commented on August 11, 2024

How does your code look?

from grunt-bake.

webnet2 avatar webnet2 commented on August 11, 2024

I only tried to run the Simple bake to be sure it will generate a couple of html pages but it did not seem to work on my node.js - Here is the simple bake click here

from grunt-bake.

david-zacharias avatar david-zacharias commented on August 11, 2024

Without more information about your specific settings I can not provide more help. Simple bake (and all other features) run on my local configuration as well as on travis CI.

from grunt-bake.

webnet2 avatar webnet2 commented on August 11, 2024

I tried to run grunt-bake but it seemed like nothing happened. I need help please...
bake_test

from grunt-bake.

david-zacharias avatar david-zacharias commented on August 11, 2024

I get the feeling that you missed to read the basics of Grunt. So please take time to read the Getting Started guide. I will close your issue for now because it is not a feature request or bug report related to this project. Probably stackoverflow the better place to get help. But first, please read the guide.

from grunt-bake.

webnet2 avatar webnet2 commented on August 11, 2024

Okay. I got it working now! Thanks! :-)

from grunt-bake.

roboshoes avatar roboshoes commented on August 11, 2024

Glad you guys could hash it out. As always @david-zacharias thanks for being so on top on responding to user issues.

from grunt-bake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.