nav1/src/pages/index.ts
Primakov Alexandr Alexandrovich 008c2d3cb7 lazy load + nav2 link
2024-10-24 18:51:40 +03:00

5 lines
210 B
TypeScript

import { lazy } from 'react'
export const AboutPage = lazy(() => import(/* webpackChunkName: "about" */ './about'))
export const ProfilePage = lazy(() => import(/* webpackChunkName: "profile" */ './profile'))