1.0.6 • Published 4 years ago

lingxi-web v1.0.6

Weekly downloads
3
License
MIT
Repository
-
Last release
4 years ago

lingxi-web

功能组件集 web版

📦 Install

yarn add lingxi-design lingxi-editor-core lingxi-web
npm install lingxi-design lingxi-editor-core lingxi-web

Usage

import { LegoProvider } from 'lingxi-editor-core';
import {BrickDesign} from 'lingxi-design';
import {BrickTree,BrickPreview} from 'lingxi-web'

const App = () => (
  <LegoProvider config={{...}}>
<div>
    <BrickPreview componentsCategory={...}/>
    <BrickDesign />
<BrickTree/>
</div>
  </LegoProvider>

);

And import style manually:

import 'lingxi-web/dist/index.css';
import 'lingxi-design/dist/index.css';