@snippetors/vuepress-plugin-tabs
Version:
Vuepress plugin - markdown custom container to display content in tabs
37 lines (24 loc) • 1.17 kB
Markdown
# vuepress-plugin-tabs
[](https://www.npmjs.com/package/@snippetors/vuepress-plugin-tabs)
[](https://www.npmjs.com/package/@snippetors/vuepress-plugin-tabs)
[](https://github.com/Snippetors/snippets/blob/main/LICENSE)
This plugin is inspired by [vuepress-plugin-element-tabs](https://github.com/superbiger/vuepress-plugin-tabs), but for Vue 3.x and VuePress 2.x
<mark>VuePress is evolving rapidly, and there's no stable version yet. This plugin is only tested with VuePress version 2.0.0-beta.60</mark>
## Documentation
https://snippetors.github.io/plugins/vuepress-plugin-tabs
## Install
> This plugin requries [VuePress>=2.0.0](https://github.com/vuepress/vuepress-next)
```sh
yarn add -D @snippetors/vuepress-plugin-tabs
```
```js
// .vuepress/config.js
import tabsPlugin from '@snippetors/vuepress-plugin-tabs'
export default {
plugins: [
tabsPlugin(options),
],
}
```
## License
[MIT](https://github.com/Snippetors/snippets/blob/main/LICENSE)