定制 factorial-io/pattern-lab-edition-factorial 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

factorial-io/pattern-lab-edition-factorial

Composer 安装命令:

composer create-project factorial-io/pattern-lab-edition-factorial

包简介

Edition of Pattern Lab for Factorial. Combines Standard Drupal edition with our frontend stack.

README 文档

README

Scaffold a twig pattern library + factorial frontend stack.

Context

https://patternlab.io/docs/advanced-ecosystem-overview.html

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.

统计信息

  • 总下载量: 151
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2019-01-14