Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.49 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.49 KB

About The Project

my personal blog website

Built With

Astro TailwindCSS

Preview

https://edwardzhou.com

How to add a new blog

Add a new .mdx file in the /src/pages/posts folder, the name of the .mdx file will become the blog url. follow the format of the other mdx files to write your blog.

if your blog includes images or videos, you can put them in

  • public/ folder, or
  • third-party static file host platform. then refer the files in the markdown

more about mdx file

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
yarn install Installs dependencies
yarn run dev Starts local dev server at localhost:3000
yarn lint Linting
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro --help Get help using the Astro CLI