vue3-tabor
Version:
Vue 3 routing tabs with keepAlive support, browser-like tab navigation for Vue applications
18 lines (16 loc) • 506 B
TypeScript
import { Plugin } from 'vue';
import { Router } from 'vue-router';
import { default as Tabor } from './tabor';
import { TaborStore, useTabor } from './store';
import { TaborProps, Tab, TabConfig, TabType } from './types';
/**
* Plugin initialization options
*/
interface PluginOptions {
router: Router;
maxCache?: number;
}
declare const TaborPlugin: Plugin;
export type { Tab, TaborStore, TaborProps, TabType, PluginOptions, TabConfig };
export { Tabor, useTabor };
export default TaborPlugin;