Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC: UHF-X: poc hds web components #666

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Jussiles
Copy link
Contributor

@Jussiles Jussiles commented May 16, 2023

Testing HDS Accordion web component on HDBT

How to install

  • Make sure your instance is up and running on latest dev branch.
    • git pull origin dev
    • make fresh
  • Update the HDBT theme
    • composer require drupal/hdbt:dev-UHF-X-poc-hds-web-components
  • Run make drush-cr

How to test

How to use HDS web components with Drupal ATM

  • Clone HDS repo with this branch locally: Web components package helsinki-design-system#928
  • Follow HDS instructions how to build it locally
  • If Web components package is not build (there's no lib folder in packages/web-components) run yarn build:web-components
  • Check that packages/web-components folder has a lib folder that has the build files
  • Copy lib folder under HDBT src folder and rename it to hds-web-component-lib
  • Run npm run build in HDBT repo
  • Think how this process could be improved

@Jussiles Jussiles marked this pull request as draft May 16, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant