TanStack Router
Install and configure JGuang UI for TanStack Router.
Partially translated: Chinese navigation, titles, descriptions, and common headings. The technical body is currently in English.
Create project
Start by creating a new TanStack Router project:
Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.
Add Components
You can now start adding components to your project.
Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.
The command above will add the Button component to your project. You can then import it like this:
import { createFileRoute } from "@tanstack/react-router"
import { Button } from "@/components/ui/button"
export const Route = createFileRoute("/")({
component: App,
})
function App() {
return (
<div>
<Button>Click me</Button>
</div>
)
}
Source: installation/tanstack-router.mdx
Technical documentation for JGuang UI.