Attempting to write my personal portfolio page again, this time with React
+ TypeScript
Copied from the README.md
from the Next.js project bootstrapped with create-next-app
.
First, run the development server:
yarn start
Open http://localhost:3000 with your browser to see the portfolio page.
v5.0.0
- Another major re-architecture - now the<DrawerItems />
supportssubPages
andExercises
(formerlyPortfolio
page) are split into their own page for faster loading performancev4.0.0
- upgradedmaterial-ui
tov5
(#178)v3.0.0
- upgradednext.js
tov14
(#175)v2.0.0
- upgradednext.js
tov13
(#143)v1.0.0
- revamped architecture (split pages so the First Contentful Paint (FCP) and Largest Contentful Paint (LCP) would be quicker) and improved UX, e.g. by reducing Time-To-Interactive (TTI) and Total-Blocking-Time (TBT) (#112)v0.10.0
- migrated toNext.js
fromCreate React App
- As a bonus, the version of
React
is also upgraded tov18.0
fromv17.0.2
- As a bonus, the version of
Set the yarn
/ npm
script-shell
to bash
(recommended) or powershell
by running:
- For
yarn
,yarn config set script-shell bash
- For
npm
, configure thescript-shell
value at.npmrc
This is because, according to the issue described here at cross-env
, npm uses cmd by default and that doesn't support command substitution, so if you want to leverage that, then you need to update your .npmrc to set the script-shell to powershell. Learn more here.