Code Monkey home page Code Monkey logo

Comments (3)

JosefBredereck avatar JosefBredereck commented on May 25, 2024

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.

lquessenberry avatar lquessenberry commented on May 25, 2024

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.

hadl avatar hadl commented on May 25, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.