mirror of https://github.com/alibaba/ice.git
17 lines
384 B
TypeScript
17 lines
384 B
TypeScript
import { defineConfig } from '@ice/app';
|
|
|
|
export default defineConfig(() => ({
|
|
codeSplitting: false,
|
|
routes: {
|
|
ignoreFiles: ['about.tsx', 'products.tsx'],
|
|
defineRoutes: (route) => {
|
|
route('/about-me', 'about.tsx');
|
|
route('/about.html', 'about.tsx');
|
|
|
|
route('/', 'layout.tsx', () => {
|
|
route('/product', 'products.tsx');
|
|
});
|
|
},
|
|
},
|
|
}));
|