It will be a great journey if you write some blog about the tech you know about
Consider I am creating a blog on managing hooks in react
, so
my blog file should must follow below criteria
- filename :
managing-hooks-in-react.md
- Content inside markdown(md) file
--- title: 'Manage hooks in react' date: 'May 15, 2021' excerpt: 'The most straightforward way of using XState with React is through local component state' cover_image: '/images/posts/img8.jpg' category: 'JavaScript' author: 'Sam Smith' author_image: 'https://randomuser.me/api/portraits/men/18.jpg' --- //Your blog with markdown syntax (.md) should go from here //For example ### Managing React Hooks Lorem markdownum fine incustoditam unda factura versum occuluere Aeneas, iuvat haec praepes [partes epulae](http://cui.com/), in egisse de. Caecisque ter manus. Munere in exhalat, ferre sed [habe quaeque saepe](http://ne.org/fretum) verba caput ferarum _nubila_? Patriam Cyparisse tamen, **saxum** fide postponere pavida ne omnes etiam, atque. Sonuit omina sed sine haerebat illic fit a mora in. - Unordered list - unordered list 1. Ordered List
- For markdown syntax, visit here
If you are getting error in running website locally, create a .bablerc
file and write the below code
{
"presets": ["next/babel"]
}
and then restart the server
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.