Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.02 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.02 KB

Component library demo

Demo the features of Drupal's component library with tailwind.

Used modules:

To get started / TLDR;

  • Install/setup ddev
  • ddev start
  • ddev ssh
  • composer install
  • composer si
  • drush genc --bundles=article 10 0
  • cd web/themes/custom/tw_theme
  • yarn install
  • yarn build-dev
  • drush uli

Open the website and see article teasers that are styled using component library

Beyond the basics

  • To build your own components and variations, add them at /admin/structure/component-library-pattern
  • Then map them to a view mode using layout builder and component_blocks.

Screenshot

ScreenShot