@0bie/pattern-lib 中文文档教程
Pattern Library
一组可重用的 UI 组件。
About
使用现代 CSS 和 JavaScript 功能编写,其创建目的是通过提供可重用代码(组件)的核心基础来增强客户端开发过程。
pattern-lib 可以在不同规模的项目中使用,为了减轻重量,分布式代码只包含清单文件中包含的组件(或助手)。
清单文件 (manifest.[js|scss]
) 包含最终构建中包含的文件列表。
Developing
- Install yarn
- Install project dependencies:
yarn install
- Start development server:
yarn start
(http://localhost:8080)
Building
- Run Delopment Build:
yarn build:dev
- Run production build:
yarn build:prod
Documentation
Pattern Library
A collection of reusable UI components.
About
Written using modern CSS and JavaScript features, the purpose of its creation is to enhance the client-side development process by providing a core base of reusable code (components).
pattern-lib can be used across projects at different scales, in order to reduce weight the distributed code consists of only the components (or helpers) which have been included in the manifest file.
A manifest file (manifest.[js|scss]
) contains the list of files that are included in the final build.
Developing
- Install yarn
- Install project dependencies:
yarn install
- Start development server:
yarn start
(http://localhost:8080)
Building
- Run Delopment Build:
yarn build:dev
- Run production build:
yarn build:prod
Documentation
更多