Giter Site home page Giter Site logo

Partials don't seem to render about hjs HOT 8 OPEN

leepowelldev avatar leepowelldev commented on June 19, 2024
Partials don't seem to render

from hjs.

Comments (8)

natesilva avatar natesilva commented on June 19, 2024

Yep, I’m having the same problem. As far as I can tell it’s not supported. Hopefully it will be soon!

from hjs.

nullfirm avatar nullfirm commented on June 19, 2024

Merge & Fixed !! Sorry I'm late

from hjs.

nullfirm avatar nullfirm commented on June 19, 2024

i was accepted pull request and merge.
but, that code seems like a copy of hogan-express package.
that's too bad!!!

i'll remade that!! please wait

from hjs.

acarrilho avatar acarrilho commented on June 19, 2024

hi,
it seems that when using partials on res.render it works but when setting in app.js it doesn't.

from hjs.

jamesrom avatar jamesrom commented on June 19, 2024

@acarrilho The latest version on github includes support for this. However, it appears that @nullfirm has not published this update to npm.

In the meantime I recommend using the github version.

from hjs.

mark-schaal avatar mark-schaal commented on June 19, 2024

When I attempt to use global partials using the described syntax in app.js, I cannot get the partial to render in my View. Is there something I am missing with the global partial declaration?

from hjs.

ronaldroe avatar ronaldroe commented on June 19, 2024

Having the same issue here. Single use works fine, global use does not.
Installed from npm. Is there a reason the version from npm doesn't work?

from hjs.

linslin avatar linslin commented on June 19, 2024

Due to no support on this library for months and a last release years a ago we decided to fork this lib to https://github.com/linslin/hjs and released a new version on NPM with all the latest fixes. The "bus factor" on this lib is to high. With our fork we try to get this lib back into life.

from hjs.

Related Issues (6)

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.