@cainiaofe/cn-ui-layout
Version:
- 安装 cone-cli | [Cone-CLI 使用指引](https://alidocs.dingtalk.com/i/nodes/xdqZp24KneBJzvGM6XezJvyb7RA0Nr1E) - `tnpm i -g @alife/cone-cli@latest` - 安装依赖包 - `cone install` - 启动研发 - `cone start`
17 lines (16 loc) • 1.05 kB
JavaScript
import { Bundle } from '@ali/visualengine';
import { CnLayoutPagePrototype } from "./cn-layout-page/prototype";
import { CnLayoutCellPrototype } from "./cn-layout-cell/prototype";
import { CnLayoutHeaderPrototype } from "./cn-layout-header/prototype";
import { CnLayoutContentPrototype } from "./cn-layout-content/prototype";
import { CnLayoutSectionPrototype } from "./cn-layout-section/prototype";
import { CnLayoutRowPrototype } from "./cn-layout-row/prototype";
import { CnLayoutColPrototype } from "./cn-layout-col/prototype";
import { CnLayoutAsidePrototype } from "./cn-layout-aside/prototype";
import { CnLayoutBlockPrototype } from "./cn-layout-block/prototype";
import "./prototype.scss";
// 通过arr控制输出的顺序
var bundle = [CnLayoutPagePrototype, CnLayoutCellPrototype, CnLayoutHeaderPrototype, CnLayoutContentPrototype, CnLayoutSectionPrototype, CnLayoutRowPrototype, CnLayoutColPrototype, CnLayoutAsidePrototype, CnLayoutBlockPrototype].map(function (item) {
return Bundle.createPrototype(item);
});
export default bundle;