pnpm i
pnpm dev
pnpm build
-- assets
-- components
- shared
- layout.tsx
-- context
- ThemeProvider.tsx
-- pages
-- public
-- styles
- globals.css
-- utils
- NextJS 12
- TypeScript
- TailwindCSS
- ReactIcons
- TypeWriter
we can use @/ instead of using a bunch of ../ to get back to the root directory
in tsconfig.json
{
"compilerOptions": {
"paths": {
"@/*": ["./*"]
}
},
}