File tree Expand file tree Collapse file tree 5 files changed +21
-15
lines changed Expand file tree Collapse file tree 5 files changed +21
-15
lines changed Original file line number Diff line number Diff line change 1- import type { LinksFunction , MetaFunction } from "@remix-run/node" ;
1+ import type { LinksFunction } from "@remix-run/node" ;
22import {
33 Links ,
44 LiveReload ,
@@ -14,16 +14,12 @@ export const links: LinksFunction = () => [
1414 { rel : "stylesheet" , href : stylesheet } ,
1515] ;
1616
17- export const meta : MetaFunction = ( ) => ( {
18- charset : "utf-8" ,
19- title : "New Remix App" ,
20- viewport : "width=device-width,initial-scale=1" ,
21- } ) ;
22-
2317export default function App ( ) {
2418 return (
2519 < html lang = "en" >
2620 < head >
21+ < meta charSet = "utf-8" />
22+ < meta name = "viewport" content = "width=device-width,initial-scale=1" />
2723 < Meta />
2824 < Links />
2925 </ head >
Original file line number Diff line number Diff line change 1+ import type { V2_MetaFunction } from "@remix-run/node" ;
2+
3+ export const meta : V2_MetaFunction = ( ) => [ { title : "New Remix App" } ] ;
4+
5+ export default function Index ( ) {
6+ return < h1 className = "text-6xl font-bold text-red-700" > Hello World!</ h1 > ;
7+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88 "typecheck" : " tsc"
99 },
1010 "dependencies" : {
11- "@remix-run/node" : " ~1.14.2 " ,
12- "@remix-run/react" : " ~1.14.2 " ,
13- "@remix-run/serve" : " ~1.14.2 " ,
11+ "@remix-run/node" : " ~1.16.0 " ,
12+ "@remix-run/react" : " ~1.16.0 " ,
13+ "@remix-run/serve" : " ~1.16.0 " ,
1414 "isbot" : " ^3.6.5" ,
1515 "react" : " ^18.2.0" ,
1616 "react-dom" : " ^18.2.0"
1717 },
1818 "devDependencies" : {
19- "@remix-run/dev" : " ~1.14.2 " ,
20- "@remix-run/eslint-config" : " ~1.14.2 " ,
19+ "@remix-run/dev" : " ~1.16.0 " ,
20+ "@remix-run/eslint-config" : " ~1.16.0 " ,
2121 "@types/react" : " ^18.0.25" ,
2222 "@types/react-dom" : " ^18.0.8" ,
2323 "eslint" : " ^8.27.0" ,
Original file line number Diff line number Diff line change 11/** @type {import('@remix-run/dev').AppConfig } */
22module . exports = {
3+ future : {
4+ v2_errorBoundary : true ,
5+ v2_meta : true ,
6+ v2_normalizeFormMethod : true ,
7+ v2_routeConvention : true ,
8+ } ,
39 ignoredRouteFiles : [ "**/.*" ] ,
410 tailwind : true ,
511 // appDirectory: "app",
You can’t perform that action at this time.
0 commit comments