1.0.1 • Published 6 years ago
wk-egg-msg-flash v1.0.1
egg-msg-flash
Install
$ npm i egg-msg-flash --save
Usage
// {app_root}/config/plugin.js
exports.msgFlash = {
enable: true,
package: 'egg-msg-flash',
};
``
`
## Configuration
```js
// {app_root}/config/config.default.js
exports.flash = {
};
see config/config.default.js for more detail.
Example
ctx.flash = {
type: 'success',
message: {
some: 'one'
}
}
##hellow
Questions & Suggestions
Please open an issue here.