kityminder-editor 是 React
重构版本。
用更现代的 UI 组件库改善用户体验。
这里使用了
antd
,其他组件库仍然可以替换。
yarn install
import React from 'react';
import 'react-minder-craft/dist/css/index.css';
import ReactMinderCraft from 'react-minder-craft/es';
export default () => <ReactMinderCraft />
yarn start
更多样例查看 example
目录。也可以查看开发细节 handbook
如果想本地调试,可能需要先安装 react
react-dom
和 antd
,具体可以查看 package.json > peerDependencies