add initial react app
This commit is contained in:
19
common/app/routes/Jobs/index.js
Normal file
19
common/app/routes/Jobs/index.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* show: /jobs
|
||||
* showOne: /jobs/:id
|
||||
* edit /jobs/:id
|
||||
* delete /jobs/:id
|
||||
* createOne /jobs/new
|
||||
*/
|
||||
|
||||
export default {
|
||||
path: '/jobs/(:jobId)',
|
||||
|
||||
getComponents(cb) {
|
||||
require.ensure([], require => {
|
||||
cb(null, [
|
||||
require('./components/Jobs')
|
||||
]);
|
||||
});
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user