Replies: 2 comments
-
The actual url is resolved based on the root option, the only difference with Node.js is there can be at most one such In addition there's an abstract filesystem API available to define how to fetch the template, see https://github.com/harttle/liquidjs/wiki/Render-a-File#abstract-file-system The actual PR for this feature is: #57 There're some integration tests, hopefully I can write a specific doc for this in the future. |
Beta Was this translation helpful? Give feedback.
-
A more descriptive wiki for partial lookups is updated, see https://github.com/harttle/liquidjs/wiki/Render-a-File#template-lookup |
Beta Was this translation helpful? Give feedback.
-
The partials docs and the browser demo don't explain how to set up the file paths for includes when using in the browser. Does anyone have an example of how to do this?
Beta Was this translation helpful? Give feedback.
All reactions