VuePress Plugin HyBlog
An out-of-the-box VuePress 2 blog plugin.
Features
- Pagination
- Katex support
- Smart excerpt
- Styled form inputs
Quickstart
Create package.json
in your project root directory as:
{
"devDependencies": {
"vuepress-plugin-hyblog": "*"
},
"scripts": {
"dev": "vuepress dev",
"build": "vuepress build"
}
}
Create .vuepress/config.ts
:
import { defineUserConfig } from "vuepress";
import { hyblogPlugin } from "vuepress-plugin-hyblog";
export default defineUserConfig({
title: "My Blog",
plugins: [
hyblogPlugin(),
],
});
Build your blog with command:
npm install
npm run build
That's it! Your blog is built in .vuepress/dist
directory.