mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-23 14:03:48 +00:00
add Posts Page
This commit is contained in:
@@ -123,6 +123,14 @@ const Routers = function ({ history, app }) {
|
||||
cb(null, require('./routes/chart/areaChart/'))
|
||||
}, 'chart-areaChart')
|
||||
},
|
||||
}, {
|
||||
path: 'post',
|
||||
getComponent (nextState, cb) {
|
||||
require.ensure([], require => {
|
||||
registerModel(app, require('./models/post'))
|
||||
cb(null, require('./routes/post/'))
|
||||
}, 'post')
|
||||
},
|
||||
}, {
|
||||
path: '*',
|
||||
getComponent (nextState, cb) {
|
||||
|
||||
Reference in New Issue
Block a user