Skip to content

ritingliudd01/template-repository-cp-frontend-based-on-ant-design-pro-v4

Repository files navigation

Control Panel(CP) - Frontend Template Repo

A turnkey frontend Control Panel(CP) template repo for HK01 internal use.

Based on:

Features of Ant Design Pro v4:

  • 💡 TypeScript: A language for application-scale JavaScript
  • 📜 Blocks: Build page with block template
  • 💎 Neat Design: Follow Ant Design specification
  • 📐 Common Templates: Typical templates for enterprise applications
  • 🚀 State of The Art Development: Newest development stack of React/umi/dva/antd
  • 📱 Responsive: Designed for variable screen sizes
  • 🎨 Theming: Customizable theme with simple config
  • 🌐 International: Built-in i18n solution
  • ⚙️ Best Practices: Solid workflow to make your code healthy
  • 🔢 Mock development: Easy to use mock development solution
  • UI Test: Fly safely with unit and e2e tests

Usage

Use bash

# Install
$ yarn

# Start dev:

$ yarn dev           # with MOCK server running
$ yarn dev-no-mock   # without MOCK server

# Login with your email@hk01.com and enjoy :)

Customization by Fulltext Search:

Search for the below keywords throughout the repo to locate the lines where you might need to customize:

  • Search hk01 for all the changes;
  • Search hk01:config for the changes related to config;
    • Search hk01:config:build for the build path changes;
    • Search hk01:config:defaultsettings for the changes in default settings;
    • Search hk01:config:env for the env settings;
    • Search hk01:config:language for the language entries;
    • Search hk01:config:proxy for the proxy settings;
  • Search hk01:login for the login-related changes;
  • Search hk01:logout for the logout-related changes;
  • Search hk01:pages for the form demos based on Formily;
  • Search hk01:utils for the utils methods added or updated.

Use Gitpod

Open the project in Gitpod (free online dev environment for GitHub) and start coding immediately.

Open in Gitpod

More instructions at documentation.

Browsers support

Modern browsers and IE11.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

Contributing

Any type of contribution is welcome :)