Prerequisite
You need Node.js installed on your machine.
Quick Start
Create a new project with a single command:
npx create-portfolio my-site
# OR Yarn
yarn create portfolio my-siteAlternatively, you can install create-portfolio globally:
npm i -g create-portfolio
create-portfolio my-siteChange into your new directory:
cd my-siteInstall dependencies:
npm installRun the website locally:
npm run devNow browse to http://localhost:3000 you should see your page.
Build for Production
Run npm run build to create a production build of your app, generated files can be found at ./public folder, then it can be deployed as a static website.