mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
20 lines
407 B
JavaScript
20 lines
407 B
JavaScript
|
/**
|
||
|
* ZombieJ: This file is used for generate site theme css only. Which only provides dark.css and
|
||
|
* compact.css for theme switcher.
|
||
|
*/
|
||
|
const config = require('./index');
|
||
|
|
||
|
const homeTmpl = './template/Home/index';
|
||
|
|
||
|
const cloneConfig = {
|
||
|
...config,
|
||
|
};
|
||
|
|
||
|
cloneConfig.routes = {
|
||
|
path: '/',
|
||
|
component: './template/Layout/index',
|
||
|
indexRoute: { component: homeTmpl },
|
||
|
};
|
||
|
|
||
|
module.exports = cloneConfig;
|