-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
I'd like to introduce new structure for nunjucks templates.
For now, we usually have base(atoms), components, and pages are generated from any .nunj in tpl folder.
So, e.g. if you want to see the component you are working on, you also have to create a page which has this component. Because .nunj files from other folders that are inside tpl are not being converted to .html.
What if we compiled all of the actual nunjucks templates and show them in index.nunj file like:
atoms:
- buttons
- form
- headings
components:
- header
- slider
- login-form
pages:
- homepage
- contact
- products
So that we could see all the parts in the index.nunj. What do you think?
Reactions are currently unavailable