doc: 添加文档

This commit is contained in:
2021-10-07 00:14:38 +08:00
parent cf48c98e12
commit f4740e101c
33 changed files with 220 additions and 2 deletions
+5
View File
@@ -1,8 +1,13 @@
import { useEffect } from "react";
import Editor from "./view/Editor";
import globalStore, { GlobalContext } from "./store/global";
import { loadExample } from "./util/load-example";
// ENHANCE: 替换掉antd组件库。。一堆莫名其妙的毛病
function App() {
useEffect(() => {
loadExample();
}, []);
return (
<GlobalContext.Provider value={globalStore}>
<Editor></Editor>