You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks so much for providing this project! I am just getting started on integrating PatternLab in our workflows and wondered why you went with .fluid as the file extension for templates. In our TYPO3 projects, all fluid templates have the extension .html and I would like to unify this.
Is it easily possible to choose a different file extension? I noticed that you can set patternExtension in the config.yml. But changing this causes patternlab to complain about not finding the PatternLoader.
The text was updated successfully, but these errors were encountered:
Hi @kaesetoast - the reason for using .fluid is simply the way PatternLab works. Initially I tried developing it to use .html but this has some rather unfortunate side effects, such as then having to identify the pattern engine as a html-engine which it certainly isn't.
It is possible I overlooked something in configuration or other, on the PatternLab side, which could make it work with html source files. But in the end it shouldn't matter much: the PatternLab project is intended to be exported, and the exporter currently writes those .fluid template files as .html. So your designers work with one file extension but the assets you end up with use another, transparently, because Fluid can render with the format set in the rendering context instead of needing to set it in each f:render call.
Hi Claus,
thanks so much for providing this project! I am just getting started on integrating PatternLab in our workflows and wondered why you went with .fluid as the file extension for templates. In our TYPO3 projects, all fluid templates have the extension .html and I would like to unify this.
Is it easily possible to choose a different file extension? I noticed that you can set patternExtension in the config.yml. But changing this causes patternlab to complain about not finding the PatternLoader.
The text was updated successfully, but these errors were encountered: