Skip to content

Add support for multiple templates and data files#3

Merged
azeeson merged 4 commits intoazeeson:masterfrom
sebagnz:feature/multiple-templates
May 15, 2022
Merged

Add support for multiple templates and data files#3
azeeson merged 4 commits intoazeeson:masterfrom
sebagnz:feature/multiple-templates

Conversation

@sebagnz
Copy link
Contributor

@sebagnz sebagnz commented Apr 14, 2022

This PR includes

  • Changes in the webpack loader to support data files and allow multiple liquid templates to be compiled.
  • Updates in documentation
  • Creation of the examples folder with usage examples.

I found more appropiate to use the .liquid instead of html for template files. Looking at the loader user repositories I found that most of them is using .liquid extension also.

This image shows how multiple templates are generated using data files.
Screen Shot 2022-04-19 at 9 26 51 AM

This video shows the loader working with the data provided both from the loader options and from data files:
Demo

@sebagnz sebagnz requested a review from azeeson April 29, 2022 18:56
@azeeson azeeson merged commit 6503c93 into azeeson:master May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants