Skip to content

Commit 2cb596b

Browse files
committed
feat(projects): 添加首页路由
1 parent 53c73ed commit 2cb596b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/pages/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { Navigate } from 'react-router-dom';
2+
3+
const Index = () => {
4+
return <Navigate to="/home" />;
5+
};
6+
7+
export default Index;

0 commit comments

Comments
 (0)