@amoebajs/zent-ui
v0.0.1-alpha.1588910665958
Published
@amoebajs/basic-modules
Downloads
33
Readme
basic-modules
@amoebajs/basic-modules
Install
yarn add @amoebajs/basic-modules
How to use
import { Factory } from "@amoebajs/builder";
import { CommonModule, LayoutModule, ZentModule } from "@amoebajs/basic-modules";
export class BuilderFactory extends Factory {
protected initModules() {
super.initModules();
this.useModule(CommonModule);
this.useModule(LayoutModule);
this.useModule(ZentModule);
}
}
then use this new factory to generate your code.
How to develop
- clone repo https://github.com/amoebajs/builder in same directory with this repo
- run
cd builder && yarn watch
orcd builder && yarn build
- run
cd ../basic-modules
- now you can use
yarn build:only
to generayor source code with basic modules