Skip to content
/ indium-face Public template

A general user interface template based on react and antd

License

Notifications You must be signed in to change notification settings

EwenLan/indium-face

Repository files navigation

Indium Face

A web page template built by Reace and Antd.

Preview

image

How to run this sample

Clone this project by

git clone https://github.com/EwenLan/indium-face.git

Install dependency by

yarn install

Run this app in development mode by

yarn dev

Builds the app for production to the build folder by

yarn build

Modify by yourself

Add a new page for your app

Find file under src/routes folder

└─src
    ├─common
    ├─pages
    │  ├─about
    │  └─home
    ├─routes
    └─templates
       └─routes
          │─home.tsx
          └─index.tsx

Modify home.tsx and add this express under the expression for the third page

{ pathName: "thirdpage", title: "Third Page", element: <ThirdPage /> }, 

pathName is used for react router, so the name shall meets the requirement of URL.

title is used for the list on the left of the page

element is the DOM shows on the right of this page

About

A general user interface template based on react and antd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published