node package manager

radmin

一个基于react的企业级前端框架

Radmin

An enterprise-class front-end framework of management system and React-based implementation.

Install

Install the project creation tool.

$ npm install radmin-tool -g

Create the project (if no path specified, project will be created in the current directory), and install the dependencies.

$ radmin-tool init [path]
cd [path]
$ npm install

Start webpack development server, and which enables hot module replacement.

$ npm start

Additionally, if you develop on your own server, please use npm run dev to build instead. Use npm run build to publish (compressed).

Visit http://localhost:80 to view your web pages. If you want to use qq or oa login component, please configure qq domain in the hosts file.

Usage

If you're new to radmin, check out the radmin handbook and the resources on radmin.qq.com. (TODO)

Directory Structure

radmin project
├── README.md
├── package.json    # package.json 
├── docs    # documents 
├── src    # source code folder 
├── web    # publish folder 
├── webpack.dev.server.hot.js    # webpack hot server 
├── webpack.hot.config.js    # webpack hot server config 
└── webpack.production.config.js    # build config 

License

The MIT License(http://opensource.org/licenses/MIT)

Suggestion

We welcome all suggestions. Please send mail to us.