Layout scaffolding for Web apps.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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