This package will install: Node.js v24.18.0 to /usr/local/bin/node npm v11.16.0 to /usr/local/bin/npm
tailwind css classes used on the body tag:
min-h-full(min-height: 100%;ormin-height: 100vh;depending on parent setup):flex(display: flex;), p.s. children can be<header>,<main>, and<footer>flex-col(flex-direction: column;)
classes used on the html tag:
h-fullwhich meansheight: 100%;
{children}:
- Anything placed in
layout.tsx(like a<Navbar/>,<footer>, or global font setup) remains mounted and shared across pages, while{children}changes dynamically based on the current route RootLayoutis a wrapper for theHomecomponentlayout.tsxis required
export default functionexport const metadata: Metadata = {}exportis likepublicso the code isn't confined to a filedefaultlets there be one default component exported from a filefunction- each component is a function rather than a class. functions take in props and output/return JSXconstis an object that is exported and can be opened by other filesReadonly<{children: React.ReactNode; }>)Readonlyis a built-in TypeScript utility typeReact.ReactNode:is the type assigned tochildrenReactNodecan mean JSX elements, React components, plaintext, fragments, arrays of elements, null, or undefinedReadonlymeans the state cannot be mutated, it must be passed back to the state machine
- Experience in established frontend frameworks (e.g., Angular, Closure, React), TypeScript/JavaScript, CSS/Sass, and HTML5.
- react docs: https://react.dev/reference/react
- typescript docs: https://www.typescriptlang.org/docs/
- v8 gh: https://github.com/v8/v8
- webkit gh: https://github.com/webKit/webkit
- next.js docs: https://nextjs.org/docs
- vercel templates: https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app
- next.js react foundations course: https://nextjs.org/learn/react-foundations
- next.js course: https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app