@ab-devwork/design-system 中文文档教程

发布于 4年前 浏览 21 项目主页 更新于 3年前

Pattern Library Styles

此存储库包含 AB 设计系统样式的代码。 运行 webpack 将创建在项目中实现设计系统所需的缩小 CSS 和 JS 文件。

Getting Started

为这个项目做出贡献:

  • Clone down this repo
  • In your terminal run a build command (see next sections for building options)

Building for NPM on PC

  • In your terminal: npm run buildnpm

Building for AEM on PC

  • In your terminal: npm run buildaem

Building for NPM on MAC

  • In your terminal: npm run macbuildnpm

Building for AEM on MAC

  • In your terminal: npm run macbuildaem

Publishing new version to NPM

  1. npm login - once per machine to update your credentials
  2. Choose one of the following to update the version
  • npm version patch
  • npm version minor
  • npm version major
  1. npm publish

Pattern Library Styles

This repository holds the code for the styles for the AB Design System. Running webpack will create the minified CSS abd JS files needed to implement the Design System in your project.

Getting Started

To contribute to this project:

  • Clone down this repo
  • In your terminal run a build command (see next sections for building options)

Building for NPM on PC

  • In your terminal: npm run buildnpm

Building for AEM on PC

  • In your terminal: npm run buildaem

Building for NPM on MAC

  • In your terminal: npm run macbuildnpm

Building for AEM on MAC

  • In your terminal: npm run macbuildaem

Publishing new version to NPM

  1. npm login - once per machine to update your credentials
  2. Choose one of the following to update the version
  • npm version patch
  • npm version minor
  • npm version major
  1. npm publish
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文