-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: ssr hydrate * fix: prettier * Update src/sync/write_client_entry.ts --------- Co-authored-by: xiaoxiao <xiaoxiao.lh@antgroup.com> Co-authored-by: chencheng (云谦) <sorrycc@gmail.com>
- Loading branch information
1 parent
647abbb
commit 665de67
Showing
5 changed files
with
3,002 additions
and
274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,28 @@ | ||
import { Link, Outlet, createRootRoute } from '@umijs/tnf/router'; | ||
import { Meta } from '@tanstack/start'; | ||
|
||
export const Route = createRootRoute({ | ||
component: () => ( | ||
<> | ||
<div>Hello</div> | ||
<ul> | ||
<li> | ||
<Link to="/">Home</Link> | ||
</li> | ||
<li> | ||
<Link to="/foo">Foo</Link> | ||
</li> | ||
</ul> | ||
<Outlet /> | ||
</> | ||
), | ||
component: RootComponent, | ||
}); | ||
|
||
function RootComponent() { | ||
return ( | ||
<html lang="en"> | ||
<head> | ||
<Meta /> | ||
</head> | ||
<body> | ||
<div>Hello</div> | ||
<ul> | ||
<li> | ||
<Link to="/">Home</Link> | ||
</li> | ||
<li> | ||
<Link to="/foo">Foo</Link> | ||
</li> | ||
</ul> | ||
<Outlet /> | ||
</body> | ||
</html> | ||
); | ||
} |
Oops, something went wrong.