Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
xg15472 committed Oct 21, 2024
1 parent 6a92850 commit 96982c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
2 changes: 0 additions & 2 deletions packages/demo-antd/src/home/Demo.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { ButtonWrapper } from '@hyperse/antd';
import { toArray } from '@hyperse/utils';

export const Demo = () => {
console.log(toArray(undefined));
return (
<div>
<ButtonWrapper>xxx</ButtonWrapper>
Expand Down
15 changes: 4 additions & 11 deletions packages/demo-antd/src/home/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import { bootstrap } from '@hyperse/pro-layout';
import { createRoot } from 'react-dom/client';
import { Demo } from './Demo';
bootstrap({
layoutMode: 'no-layout',
routeList: [
{
path: '/',
element: <Demo />,
breadConfig: 'demo1列表',
},
],
});
import './index.less';

createRoot(document.getElementById('app')!).render(<Demo />);
5 changes: 1 addition & 4 deletions packages/demo-antd/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"incremental": true,
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "node",
"paths": {
"@hyperse/antd": ["../antd/src/index.ts"]
}
"moduleResolution": "node"
},
"exclude": ["node_modules", "**/.*/", "dist", "build", "public"]
}

0 comments on commit 96982c0

Please sign in to comment.