@ab-devwork/design-system 中文文档教程
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
npm login
- once per machine to update your credentials- Choose one of the following to update the version
npm version patch
npm version minor
npm version major
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
npm login
- once per machine to update your credentials- Choose one of the following to update the version
npm version patch
npm version minor
npm version major
npm publish