Skip to content

Commit

Permalink
初始化代码结构
Browse files Browse the repository at this point in the history
  • Loading branch information
xg15472 committed Oct 21, 2024
1 parent c99b14d commit 1f35b59
Show file tree
Hide file tree
Showing 83 changed files with 681 additions and 215 deletions.
15 changes: 11 additions & 4 deletions packages/antd-demo/src/utils/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import { createRoot } from 'react-dom/client';
import { bootstrap } from '@hyperse/pro-layout';
import { Demo } from './Demo';
import './index.less';

createRoot(document.getElementById('app')!).render(<Demo />);
bootstrap({
layoutMode: 'no-layout',
routeList: [
{
path: '/',
element: <Demo />,
breadConfig: 'demo1列表',
},
],
});
6 changes: 1 addition & 5 deletions packages/antd-demo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@
"incremental": true,
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "node",
"paths": {
"@hyperse/antd": ["../antd/src"],
"@hyperse/utils": ["../utils/src"]
}
"moduleResolution": "node"
},
"exclude": ["node_modules", "**/.*/", "dist", "build", "public"]
}
Loading

0 comments on commit 1f35b59

Please sign in to comment.