b00717748b
* init remix project * feat: implemented the remix adapter package * updated the remix package to return the action variable * added an example job to the example remix project * fix: Ensure Side Effects Execution in Remix API Routes * updated the readme in @trigger.dev/remix package * doc: added the manual setup guide for remix * updated the webapp onboarding for remix * updated the manual setup guide * added a license to the @trigger.dev/remix package * added a wait function to the example job * added a link to the remix webapp onboarding * Updated the onboarding page For now, we'll only support existing projects. The button that links to the manual installation was just a blank rectangle – added some text to it. * Added the Server API key to the instructions * Remix manual docs Made some things a bit clearer - file paths - exporting the job rather than using a function wrapper - how to run the app and CLI dev command * Export the job * Update api.trigger.ts * Added tsconfig.json paths * Remove next dependency * Package set to 2.1.0 and set dependencies Shouldn't rely on a specific version in main dependencies. In this case we can just have devDependency for @remix/node * Changeset --------- Co-authored-by: Matt Aitken <matt@mattaitken.com>
34 lines
716 B
TypeScript
34 lines
716 B
TypeScript
import { cssBundleHref } from "@remix-run/css-bundle";
|
|
import type { LinksFunction } from "@remix-run/node";
|
|
import {
|
|
Links,
|
|
LiveReload,
|
|
Meta,
|
|
Outlet,
|
|
Scripts,
|
|
ScrollRestoration,
|
|
} from "@remix-run/react";
|
|
|
|
export const links: LinksFunction = () => [
|
|
...(cssBundleHref ? [{ rel: "stylesheet", href: cssBundleHref }] : []),
|
|
];
|
|
|
|
export default function App() {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
<meta charSet="utf-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
<Meta />
|
|
<Links />
|
|
</head>
|
|
<body>
|
|
<Outlet />
|
|
<ScrollRestoration />
|
|
<Scripts />
|
|
<LiveReload />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|