Layout scaffolding for Web apps.
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

root.tsx 693 B

1234567891011121314151617181920212223242526272829303132333435
  1. import {
  2. Links,
  3. LiveReload,
  4. Meta,
  5. Outlet,
  6. Scripts,
  7. ScrollRestoration,
  8. } from "@remix-run/react";
  9. import type {LinksFunction} from '@remix-run/node';
  10. import * as React from 'react';
  11. import globalStylesheetUrl from './style.css';
  12. export const links: LinksFunction = () => {
  13. return [{ rel: "stylesheet", href: globalStylesheetUrl }];
  14. };
  15. const App = () => (
  16. <html lang="en-PH">
  17. <head>
  18. <meta charSet="utf-8" />
  19. <meta name="viewport" content="width=device-width,initial-scale=1" />
  20. <Meta />
  21. <Links />
  22. </head>
  23. <body>
  24. <Outlet />
  25. <ScrollRestoration />
  26. <Scripts />
  27. <LiveReload />
  28. </body>
  29. </html>
  30. )
  31. export default App