Comments (3)
To be honest, at this point, I would not recommend relying on pattern lab for new or refreshed projects.
It would be better to use storybook which is much better supported.
There are tons of tutorials on how to get it running with twig, twing and whatever you can imagine.
from patternlab-node.
Hello @JosefBredereck, for posterity I am trying to patch up our Patternlab at https://protiviti.com which is now on Drupal 10. It's an uphill climb. I was successful in salvaging our patterns but I had to do a lot of "find and replace" just to suppress the nested patterns warnings. The Twig Engine seemed to work okay on my local with Node, but I also spent a few days refactoring and reorganizing the pattern library to work without warnings. Unfortunately I have also spent a considerable amount of time considering Storybook.js and Single Directory Components module for Drupal.
Currently our site is using Components module to extend Drupal's theme system by using our Patternlab directly as a component library in Twig. I have been advised by a few other folks to explore the Single Directory Components module as a potential approach.
There's also a module UI Patterns Pattern Lab (Mouthful!) https://www.drupal.org/docs/contributed-modules/ui-patterns-pattern-lab which seems promising.
from patternlab-node.
@lquessenberry
We are also heavily relying on Patternlab an use it the same way you do.
Regarding Twig 3 see: #1474 (comment)
from patternlab-node.
Related Issues (20)
- startup error on TwigRenderer
- Nothing compiling to patterns folder HOT 1
- [Documentation] Engine configuration fileExtension vs extension HOT 6
- [Feature/Bug]: Code blocks in the markdown file do not show as code highlighted text HOT 8
- Rework how pattern lab loads UI-kits HOT 3
- Rework UI-kit Workshop
- Broken starter kit Twig Demo HOT 2
- Twig does not reload template on changes (PHP and node) HOT 3
- Rewrite Pattern Lab Core HOT 3
- Subitems would get cropped or disappear on vertical navigation
- PHP TwigRenderer Error when adding custom Twig extension via alter-twig.php HOT 1
- [Vulnerability] Old version of lodash causing `npm audit` issues flagged HOT 2
- [Handlebars] Inconsistent data access when leveraging sibling JSON + partial blocks
- Migrate to Node 18
- Migrate from `pretty-quick` to `lint-staged`
- Stuck on start with patternlab twig-php engine HOT 1
- Is Pattern twig-php is broken and doesn't render any patterns? HOT 2
- NPM vulnerabilities for GOT
- [Engine Twig PHP] - pattern rendering broken in ^6.0.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patternlab-node.