diff --git a/app/entry.server.tsx b/app/entry.server.tsx deleted file mode 100644 index beacf24..0000000 --- a/app/entry.server.tsx +++ /dev/null @@ -1 +0,0 @@ -export { handleRequest as default } from "@netlify/remix-adapter"; diff --git a/app/routes/_index.tsx b/app/routes/_index.tsx index 8a2235b..5347369 100644 --- a/app/routes/_index.tsx +++ b/app/routes/_index.tsx @@ -1,4 +1,4 @@ -import type { MetaFunction } from "@remix-run/deno"; +import type { MetaFunction } from "@remix-run/node"; export const meta: MetaFunction = () => { return [ diff --git a/remix.init/edge/app/routes/_index.tsx b/remix.init/edge/app/routes/_index.tsx new file mode 100644 index 0000000..48f29a2 --- /dev/null +++ b/remix.init/edge/app/routes/_index.tsx @@ -0,0 +1,41 @@ +import type { MetaFunction } from "@netlify/remix-runtime"; + +export const meta: MetaFunction = () => { + return [ + { title: "New Remix App" }, + { name: "description", content: "Welcome to Remix!" }, + ]; +}; + +export default function Index() { + return ( +
+

Welcome to Remix

+ +
+ ); +} diff --git a/remix.init/index.js b/remix.init/index.js index c58d16f..7fd7c6b 100644 --- a/remix.init/index.js +++ b/remix.init/index.js @@ -143,7 +143,6 @@ async function shouldUseEdge(rootDirectory) { async function main({ rootDirectory, packageManager }) { intro(`Welcome to Remix on Netlify`); - console.log("rootDirectory", rootDirectory); const useEdge = await shouldUseEdge(rootDirectory); const spin = spinner(); spin.start("Setting up your project");