PSDI 团队内部组件工具资料库,用于提升团队开发效率
# install dependencies
$ yarn install
# develop library by docs demo
$ yarn start
# build library source code
$ yarn run build
# build library source code in watch mode
$ yarn run build:watch
# build docs
$ yarn run docs:build
# check your project for potential problems
$ yarn run doctor
npm install psdi-lib
yarn add psdi-lib
import React from 'react';
import { CustomTree } from 'psdi-lib';
const App = () => <CustomTree treeData={[]} />;
MIT