Requirements:
- A standard Drupal installation
- Node 18+
- USWDS: https://www.drupal.org/project/uswds
- USWDS Base: https://www.drupal.org/project/uswds_base
- Gesso USWDS: https://www.drupal.org/project/guswds
- USWDS Paragraph Components: https://www.drupal.org/project/uswds_paragraph_components
- USWDS Layout Builder Configuration: https://www.drupal.org/project/uswds_blb_configuration
- USWDS Ckeditor Integration: https://www.drupal.org/project/uswds_ckeditor_integration
- New USWDS Templates: https://www.drupal.org/project/uswds_templates
-
Thursday November 2 - 2pm
Component-based design using Layout Paragraphs and the U.S. Web Design System
-
Thursday November 2 - 11am
What happens when USWDS meets Single Directory Components? The Governor.
https://www.drupal.org/docs/theming-drupal/creating-sub-themes#s-generating-a-new-theme
Add/update .gitignore in theme to exclude
node_modules
dist
-
Initialize a package.json file
-
Install USWDS
-
Install USWDS compile
https://github.com/uswds/uswds-compile#gulpfile-setup
- run
npx gulp init
to initalize the sass theme files - run
npx gulp
to compile the assets - (optional) Configure CI/CD workflows to autogenerate compiled assets during deploy
Install twig_tweak
- Decouple core component templates to avoid duplicating markup
- Keep USWDS dependency up to date