feat: add listen code change

This commit is contained in:
2024-09-23 20:51:59 +08:00
parent 4d308921a3
commit 27f487c48f
13 changed files with 419 additions and 97 deletions

View File

@@ -3,6 +3,7 @@ import { ConfigProvider } from 'antd';
import { App as ContainerApp } from './pages/container';
import { App as PanelApp } from './pages/panel';
import { App as PublishApp } from './pages/publish';
import { App as CodeEditorApp } from './pages/code-editor';
export const App = () => {
return (
@@ -17,6 +18,7 @@ export const App = () => {
<Route path='/container/*' element={<ContainerApp />} />
<Route path='/panel/*' element={<PanelApp />} />
<Route path='/publish/*' element={<PublishApp />} />
<Route path='/code-editor' element={<CodeEditorApp />} />
<Route path='/404' element={<div>404</div>} />
<Route path='*' element={<div>404</div>} />
</Routes>