👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
433 B

import dva from 'dva';
import G2 from 'g2';
// import { browserHistory } from 'dva/router';
import 'moment/locale/zh-cn';
import models from './models';
import './index.less';
G2.track(false);
// 1. Initialize
const app = dva({
// history: browserHistory,
});
// 2. Plugins
// app.use({});
// 3. Model
models.forEach((m) => {
app.model(m);
});
// 4. Router
app.router(require('./router'));
// 5. Start
app.start('#root');