Description
I am using Pattern Lab Node v6.0.1
on Windows | Mac | Linux
, with Node v16.17.0
, using a Twig
Edition.
The Twig Demo is currently not working as expected. There are several issues regarding the pattern data and template loading.
Pages including templates which include other components are not referencing the data provided by the provided companion JSON file.
Expected Behavior
When I install the starter kit via patternlab install --starterkits @pattern-lab/starterkit-twig-demo
it should provide a good stating point with basic components and example pages.
Twig files provided under pages should include templates which correctly consume the companion JSON.
For example: The data of homepage.json should correctly be used in pages/homepage.twig
which includes templates/homepage.twig
Actual Behavior
I can install the starter kit, but the JSON data from pages is not applied to the output.
Steps to Reproduce
npm create pattern-lab
- follow the steps to install twig
patternlab install --starterkits @pattern-lab/starterkit-twig-demo
npm run start
- Navigate to pages ⇾ homepage