If you like the blog built by Vuepress, you can fork or clone it and give me a star.
This is a tutorial may help you:
-
clone the rep:
git clone https://github.com/chenweigao/vueblog.git
or fork it, and clone form you repo.
-
install the
yarn
: https://yarnpkg.com/lang/zh-hans/docs/install/#windows-stable -
run the command:
yarn yarn docs:dev
then you can see the site run at: localhost:8080, you can visit it.
-
in
docs/.vuepress/config.js
, modify the title to yours, comment out lin 63 - lin 66(or you could register valine and modify theComments.vue
's config) -
in
docs/.vuepress/blog
, delete all of my post and put your post here(do not delete the directory). -
in
docs/.vuepress/blog/Others/resume.md
, replace it by your own resume.
There, everything about your blog is done!
You can deploy this site via Netlify: This is a tutorial, or you follow this:
-
fork this repo, or push your clones repo to your GitHub.
-
visit https://app.netlify.com
-
registe via GitHub account and then click New site from Git, and chose this repo
-
then fill the deployment command:
Build Command: yarn docs:build Publish directory: docs/.vuepress/dist
-
wait... when the build success, then click Domain settings and custom you domains.
More config information could be found at my blog's post Vuepress Blog
Thank you!