@neoblog/plugin-control-panel
v0.1.2
Published
article/config management panel for neoblog
Downloads
6
Readme
neoblog-plugin-control-panel
Article/config management panel for neoblog, written in Elm .
Features
- Article
- [x] list
- [x] create
- [x] modify
- [ ] delete
- [ ] group by tags
- Config
- [ ] read
- [ ] write
- [ ] lint
Usage
Install @neoblog/plugin-control-panel
with npm
, and see config example at config.js .
Once plugin was installed, you can login at /control/panel
.
Plugin Options
new PluginControlPanel(options: IPluginOptions);
interface IPluginOptions {
usr: string; // login username
pwd: string; // login password
jwtSecret: string; // JSON Web Token secret
jwtOptions?: any; // jsonwebtoken sign options (see below)
}
jwtOptions default to { expiresIn: '2d' }
. Learn more here for infomation about Jwt options.