diff --git a/init.ts b/init.ts index 9ed5f252..78e14753 100644 --- a/init.ts +++ b/init.ts @@ -93,22 +93,30 @@ await Deno.writeTextFile( IMPORT_MAP_JSON, ); -const ROUTES_INDEX_TSX = `import Counter from "../islands/Counter.tsx"; +const ROUTES_INDEX_TSX = `import { Head } from "$fresh/runtime.ts"; +import Counter from "../islands/Counter.tsx"; export default function Home() { return ( - - the fresh logo: a sliced lemon dripping with juice - - Welcome to \`fresh\`. Try updating this message in the ./routes/index.tsx - file, and refresh. -

- - + <> + + Fresh App + + + the fresh logo: a sliced lemon dripping with juice + + Welcome to \`fresh\`. Try updating this message in the ./routes/index.tsx + file, and refresh. +

+ + + ); } `;