- npm packages:
next
,gray-matter
,marked
,dayjs
andtailwindcss/daisyui
- node version: v16.15.0
- will keep the blog posts and portfolio page
- run
nvm use
after opening project from terminal - put asset files into
root/public
- use
@apply
to applytailwindcss
classes - sort posts by date from new to old
- add
new
script to package.json - add
/archive
page - add single post page (format:
/YYYY/POST-TITLE
)