home | heroImage | heroText | tagline | actionText | actionLink | features | footer | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
true |
./hero-image.jpg |
Your name |
your tags |
To the blog → |
/articles/ |
|
some footer |
This is not a normal page but the landing page of your blog
You should have the vue-cli
installed:
yarn global add vuepress # OR npm install -g vuepress
Then install all dependencies
npm install
To build your static site:
vuepress build
This will create something deployable at ./vuepress/dist
vuepress dev
This will server your site at http://localhost:8080
To add articles, create them under /pages
directory. Ensure all articles follow the frontmatter YAML of /pages/article.md
place any images under .vuepress/public
or refer to them where they are relative to the page they are used in ./image.jpg