ice-layout-builder

0.0.1 • Public • Published

ICE Layout Builder

组件

  • BasicFrom
  • HeaderFrom
  • AsideFrom
  • FooterFrom
  • PreviewFrom

接口

  • generatorLayout(config)
// FOR TEST DATA
const CONFIG = {
  name: 'CustomLayout',
  directory: '',
  theme: 'dark',
  layout: 'fluid-layout',
  header: {
    position: 'static',
    width: 'full-width',
    enabled: true,
  },
  aside: {
    position: 'embed-fixed',
    mode: 'vertical',
    width: 200,
    collapsed: false,
    enabled: true,
  },
  footer: {
    position: 'fixed',
    width: 'full-width',
    enabled: true,
  },
};

generatorLayout(CONFIG)
  .then(() => {
    console.log('生成布局成功');
  })
  .catch((err) => {
    console.log('生成布局失败', err);
  });

Readme

Keywords

none

Package Sidebar

Install

npm i ice-layout-builder

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

60.5 kB

Total Files

46

Last publish

Collaborators

  • chenbin93