Hashnode NextJs
Integrate Hashnode to NextJS Project
First, run the development server:
npm install
npm run dev
Build for production AND generate static website into "out" folder:
npm run build
Fresh up the project dependencies
npm install
Run in production:
npm start
Open http://localhost:3000 with your browser to see the result.
Folder Structure
.
├── ...
├── components # Components Folder
│ ├── BlogItem.js # Single Blog component
│ ├── BlogList.js # Wrapper component for our BlogItem
│ ├── Header.js
│ └── Layout.js # Blueprint for our page Layout
├── pages # Pages Folder
│ ├── _app.js
│ └── index.js
└── ...