pskordilakis/vuepress-plugin-tabs

Global options to vue-tabs-components

Opened this issue · 2 comments

ad-m commented

Hello,

Is there a way to pass globally options to vue-tabs-components?

I would like pass to every tabs by default ``useUrlFragment: false ```. I would like avoid floating my markdown files with settings of that. I think about something like that in configuration:

    plugins: [
        [ 'tabs', { 
            useUrlFragment: false 
        }],
    ],

As I understand correclty only one supported options is for dedupeIds (

if (options.dedupeIds) {
).

Are works carried out in this area? If so, what is ETA? If not, will an external contribution be accepted?

+1

Merged #12 and published a new version. You should be able to pass global attributes in tabs component.