Add MainFramework and loading mask. Add animation to menu.

This commit is contained in:
2023-09-06 18:27:18 +08:00
parent 2b4e54a69d
commit 530d201b1c
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
}
],