Build a personal blog with VitePress

VitePress official address

VitePress | Vite & Vue Powered Static Site Generator

1. create

prerequisites

1. Node version 16 or later

First create an empty folder to store your personal blog projects

Open cmd inside an empty folder and enter

npm install -D vitepress

At this point your project structure should look like this:

 Continue to enter in the root directory cmd

npx vitepress init

You'll see a few simple questions:

Enter the start command

npm run docs:dev

Just like starting a Vue project

success

Guess you like

Origin blog.csdn.net/weixin_46607967/article/details/129687374