Demo the features of Drupal's component library with tailwind.
- 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
- 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
.