Coder Social home page Coder Social logo

Comments (8)

jdcantrell avatar jdcantrell commented on June 15, 2024

I'll look into this before we do our next release, thanks for testing it out.

from hologram.

jdcantrell avatar jdcantrell commented on June 15, 2024

I played with this some tonight and it is working for me. Can you give me more details about your project layout/erb/etc?

from hologram.

jdcantrell avatar jdcantrell commented on June 15, 2024

ping @Yago31

Any updates on this?

Thanks!

from hologram.

Yago avatar Yago commented on June 15, 2024

@jdcantrell Sorry, I have always the same issue. When I place my data.json.erb at the root of my theme directory, Hologram just paste it into my styleguide directory without compiling it... (I test it with the very last version)

from hologram.

jdcantrell avatar jdcantrell commented on June 15, 2024

Would you mind sharing your erb?

from hologram.

Yago avatar Yago commented on June 15, 2024

"The .result() of 'test.html.erb' will be saved to test.html" Is not that you said ? I thought that if we place a custom erb file in the theme, he will be compiled in the styleguide... Maybe a do something wrong...

My data.json.erb inside the theme directory (just to test) :

<%= @pages %>

and my data.json inside the styleguide :

<%= @pages %>

from hologram.

jdcantrell avatar jdcantrell commented on June 15, 2024

I believe the issue is that the erb file is not in the correct place. It needs to be in the source folder you defined in the hologram config. Can you list out an overview of your project structure?

from hologram.

jdcantrell avatar jdcantrell commented on June 15, 2024

Closing until there are further details, this feature is working correctly from what I can tell.

from hologram.

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.