Skip to content

How to Create a New Post

Published: at 10:30 PM

Create

  1. Open blog folder with Visual Studio Code.
  2. Create md file in src/content/blog.
  3. Write it down.
  4. Run npm run dev in Terminal. (make sure the file is saved and everything looks good)
  5. Select Source Control in VSCode sidebar.
  6. Move to Changes and Click the Plus button (Stage All Changes).
  7. Commit & Push with a update message.
  8. Enjoy it.

Modify

  1. Change the file content and save it
  2. Repeat 4 to 7 steps above.