factorial-io / pattern-lab-edition-factorial
Edition of Pattern Lab for Factorial. Combines Standard Drupal edition with our frontend stack.
Installs: 151
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 0
Open Issues: 2
Type:project
Requires
- php: >=5.5.9
- aleksip/plugin-data-transform: ^1.0.0
- pattern-lab/core: ^2.7.0
- pattern-lab/drupal-twig-components: ^2.0.0
- pattern-lab/patternengine-twig: ^2.0.0
- pattern-lab/styleguidekit-twig-default: ^3.0.0
This package is auto-updated.
Last update: 2025-01-14 05:34:44 UTC
README
Scaffold a twig pattern library + factorial frontend stack.
Context
Prerequistes
Create a new Project
$ composer create-project factorial-io/pattern-lab-edition-factorial <my-project-name> --stability beta
- Replace
<my-project-name>
with the folder where pattern lab should be generated. - Select the
factorial-io/pattern-lab-starterkit-default
starterkit from menu. - If asked about replacing files, do it.
- Commit new files generated.
Install an existing Project
$ composer install
- Assuming you cloned an existing project that was created with
pattern-lab-edition-factorial
. - This should trigger a
yarn install
as well.
Development
$ yarn start
- Starts a development server and watches for file changes.
Production
$ yarn run build
- Creates a production build.