Skip to content

A vuepress plugin to add access verification to your blog

Notifications You must be signed in to change notification settings

ren-34/plugin-posts-encrypt-ren

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugin-posts-encrypt

A vuepress plugin to add access verification to your blog.

对原 vuepress-plugin-posts-encrypt插件的改造。

使用

  • 安装
npm install vuepress-plugin-posts-encrypt-ren
  • 使用

  在 vuepress 的 config.js 中添加:

module.exports = {
  plugins: [
    [
      // 访问验证插件
      'posts-encrypt-ren',
      {
        route: '/auth.html',
        passwd: '@Lencamo',
        expires: 72 * 60 * 60 * 1000,
        encryptInDev: true,
        checkAll: true
      }
    ]
  ]
}

更多配置,请参考vuepress-plugin-posts-encrypt

About

A vuepress plugin to add access verification to your blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published