tachybase_todo/packages/create-nocobase-app/templates/AppGenerator/.umirc.ts.tpl

13 lines
232 B
Smarty
Raw Normal View History

2020-10-24 15:34:43 +08:00
import { defineConfig } from 'umi';
export default defineConfig({
nodeModulesTransform: {
type: 'none',
},
{{ ^conventionRoutes }}
routes: [
{ path: '/', component: '@/pages/index' },
],
{{ /conventionRoutes }}
});