Add MainFramework and loading mask. Add animation to menu.
This commit is contained in:
@@ -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
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user