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.
39 lines
631 B
39 lines
631 B
5 years ago
|
export default {
|
||
|
singular: true,
|
||
|
plugins: [
|
||
|
['umi-plugin-react', {
|
||
|
antd: true,
|
||
|
dva: true,
|
||
|
locale: {
|
||
|
enable: true,
|
||
|
},
|
||
|
}],
|
||
|
],
|
||
|
routes: [
|
||
|
{
|
||
|
path: '/',
|
||
|
component: '../layout',
|
||
|
routes: [
|
||
|
{
|
||
|
path: '/',
|
||
|
component: './index'
|
||
|
},
|
||
|
{
|
||
|
path: 'user',
|
||
|
component: './user'
|
||
|
},
|
||
|
{
|
||
|
path: 'work',
|
||
|
component: './work'
|
||
|
},
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
proxy: {
|
||
|
'/dev': {
|
||
|
target: 'https://08ad1pao69.execute-api.us-east-1.amazonaws.com',
|
||
|
changeOrigin: true,
|
||
|
},
|
||
|
},
|
||
|
};
|