vuepress-plugin-sider-open
v1.0.2
Published
Vuepress menu expand and collapse plug-in;vuePress菜单展开收起插件
Downloads
14
Readme
Menu expand / collapse
For some table fields that are too long, the small screen experience is not particularly good, so I made a sudden move to expand the function of folding up a menu and give more space to the screen. Note: this plug-in will not load under the mobile screen
How to use
npm i vuepress-plugin-sider-open
# or
yarn i vuepress-plugin-sider-open
- config.js
module.exports = {
//. omitted
};
plugins: [
//. omitted
[
"vuepress-plugin-sider-open",
{
Opentext: "expand",
Retracttext: "put up"
}
]
];
api
| Name | type | default value | description | | ----------- | ------ | ------------- | --------------------------------- | | Opentext | string | open | name of the expanded field | | Retracttext | string | retract | name of the field to be retracted |