
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
vuepress-theme-blue
Advanced tools
一款简洁好用的 Vuepress 2.x 博客主题,Markdown 样式基于 github markdown css。
由于 vuepress 2.x 仍然在更新,而其中的依赖需要统一版本才能使用,因此我准备了一个模板项目,直接 Fork 使用即可:vuepress-theme-blue-init-project
具体项目使用可以查看 vuepress-theme-blue-init-project 的 README。
pnpm add vuepress-theme-blue
在配置文件中引入主题:
import { defineUserConfig } from 'vuepress'
import VuepressThemeBlue from 'vuepress-theme-blue'
export default defineUserConfig({
// ...
theme: VuepressThemeBlue({
// ... 你的配置
}),
})
defineUserConfig({
theme: VuepressThemeBlue({
website: {
name: 'Ruofee Blog', // 博客名称
footers: ['备案号: xxx'], // 网页底部文案
ensureAboutMe: true, // 是否开启“关于我”页面,如开启,请创建 about_me 文件夹
hostname: 'http://ruofee.cn', // 域名,主要用于生成 sitemap
baiduAnalytics: 'your baidu key', // 百度统计
},
user: {
username: 'Ruofee', // 用户名
description: '终不似, 少年游', // 用户描述
avatar: 'http://img.ruofee.cn/headImage?imageslim', // 用户头像
links: [
{
type: LinkType.Github,
value: 'https://github.com/ruofee',
},
], // 个人链接
},
home: {
pageSize: 10, // 首页展示博客数目
},
comment: {
enable: true, // 是否开启评论区,基于 giscus
option: {
repo: 'xxx',
repoId: 'xxx',
category: 'xxx',
categoryId: 'xxx',
theme: 'xxx',
mapping: 'xxx',
lang: 'xxx',
loading: 'xxx',
inputPosition: 'xxx',
reactionsEnabled: 'xxx',
}
},
}),
})
pnpm dev:node
pnpm dev:client
pnpm dev:docs
FAQs
A simple and beautiful blog theme for vuepress 2.x.
The npm package vuepress-theme-blue receives a total of 1 weekly downloads. As such, vuepress-theme-blue popularity was classified as not popular.
We found that vuepress-theme-blue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.