说明 本项目参考了file-tree-live的实现,但基本上对实现进行了完全的重构。 使用typescript 重定义了文件目录树的结构以及建树操作,使得结构更清晰 弃用react-highlight,使用@monaco-editor/react 弃用react-ui,改用@emotion/styled 修改图标方案 启动 npm install npm start 或者您可以在CodeSandbox中打开 运行截图