vuepress-plugin-posts-encrypt
vuepress-plugin-posts-encrypt copied to clipboard
A vuepress plugin to add access verification to your blog
## 密码明文容易泄漏 现在密码是明文的,容易出现编写文章时密码泄漏,可以将密码改为base64加密的形式吗 ## 希望可以加个全局文章加锁控制 希望可以加个全局文章加锁控制,进入网站时就需要登录,否则跳转登录页。现在只能 每个文章都加一个加密的字段
## 问题1 ```js // .vuepress/config.js module.exports = { plugins: [ [ 'posts-encrypt', { // Here!!! // 这样就可以 template: __dirname + '\\posts-encrypt\\template.html', // 这样写找不到路径 // template: '/docs/.vuepress/posts-encrypt/template.html', // template: './posts-encrypt/template.html', injectConfig:...