Skip to content

Latest commit

 

History

History
95 lines (74 loc) · 1.82 KB

README.md

File metadata and controls

95 lines (74 loc) · 1.82 KB

Build bulletproof TWIG Components in Storybook

  1. Describe, develop and test your Pattern in storybook with twing.
  2. Use the same pattern in Drupal with UI Patterns without any presenter pattern
  3. Starterkits for:
    • Tailwind + Alpinejs
    • Boostrap + jQuery
  4. Bundled Webpack base configuration to keep everything up to date.

Documentation

Check out the Wingsuit documentation for more information..

Prerequisites

Quickstart

  1. To install run inside themes/custom:
npx @wingsuit-designsystem/cli init
  1. Then cd wingsuit/ and run:

NPM

To start storybook

npm run dev:storybook

To start drupal

npm run dev:drupal

YARN

To start storybook

yarn dev:storybook

To start drupal

yarn dev:drupal

Generate new pattern

yarn ws generate-component

Develop Wingsuit

Help?

I am looking for help. You can ping me at drupaltwig@Slack

To develop Wingsuit you need yarn.

  1. Clone repository:
git clone [email protected]:wingsuit-designsystem/wingsuit.git
cd wingsuit
yarn bootstrap
yarn dev
  1. To start storybook cd starter-kits/tailwind and run:
yarn dev:storybook
  1. To start drupal cd starter-kits/tailwind and run:
yarn dev:drupal
  1. To build docs
yarn dev:drupal

Running e2e tests

Tab 1 n

Tab 2 export CIRCLE_BRANCH=release-2-0 yarn config set registry http://localhost:6000 yarn test:e2e-framework