Advertisement
rborole06

masterApp/routes/page.tsx

Apr 15th, 2025
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. import { Helmet } from '@modern-js/runtime/head';
  2. import './index.css';
  3. import { Link } from '@modern-js/runtime/router';
  4.  
  5. const Index = () => (
  6. <div className="container-box">
  7. <Helmet>
  8. <link
  9. rel="icon"
  10. type="image/x-icon"
  11. href="https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/favicon.ico"
  12. />
  13. </Helmet>
  14. <main>
  15. <Link to={'/table'}>Load table route</Link>
  16. <div>Initial page load from src/routes/pages.tsx</div>
  17. </main>
  18. </div>
  19. );
  20.  
  21. export default Index;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement