JGuang / JGuang UI

Remix

Install and configure JGuang UI for Remix.

Partially translated: Chinese navigation, titles, descriptions, and common headings. The technical body is currently in English.

Note: This guide is for Remix. For React Router, see the React Router guide.

Create project

Start by creating a new Remix project using create-remix:

npx create-remix@latest my-app

Run the CLI

Run the JGuang UI Registry init command to set up your project:

Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.

That's it

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 { Button } from "~/components/ui/button"

export default function Home() {
  return (
    <div>
      <Button>Click me</Button>
    </div>
  )
}

Source: installation/remix.mdx

Technical documentation for JGuang UI.

On this page