Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Demo the features of component library with tailwind

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages