Add MainFramework and loading mask. Add animation to menu.

This commit is contained in:
2023-09-06 18:27:18 +08:00
parent 98b8171edd
commit c1b502e124
14 changed files with 279 additions and 24 deletions

View File

@@ -26,6 +26,7 @@ export default defineConfig({
'react-router',
'react-router-dom',
{
react: ['Suspense'],
'react-router': ['useMatches', 'RouterProvider'],
'react-router-dom': ['createBrowserRouter'],
antd: ['message']
@@ -34,6 +35,11 @@ export default defineConfig({
from: 'react-router',
imports: ['RouteObject'],
type: true
},
{
from: 'react',
imports: ['PropsWithChildren'],
type: true
}
],