Layout scaffolding for Web apps.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

36 lignes
693 B

  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