vuepress-plugin-graysite
Version:
Plug-ins that gray your site for VuePress.
47 lines (37 loc) • 868 B
Markdown
<h1 align="center">vuepress-plugin-graysite</h1>
<div align="center">
Plug-ins that gray your site for VuePress.


</div>
## Install
```sh
yarn add -D vuepress-plugin-graysite
# OR npm install -D vuepress-plugin-graysite
```
## Use
```js
module.exports = {
plugins: ['graysite']
}
```
## Config
```js
module.exports = {
plugins: [
['graysite',{
startDate: '2020-04-03 00:00:00',
endDate: '2020-04-04 23:59:59'
}]
]
}
```
## Option(required)
### startDate
- Type: `date`
- Default: `null`
Set start date for mourning day.
### endDate
- Type: `date`
- Default: `null`
Set end date for mourning day.