bootstrap-vue-next
Version:
BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.
18 lines (17 loc) • 463 B
JavaScript
import { ref } from "vue";
import { a as breadcrumbGlobalIndexKey, e as breadcrumbPluginKey } from "../../../keys-DUCx0SNv.mjs";
const breadcrumbPlugin = {
install(app) {
const items = ref({
[breadcrumbGlobalIndexKey]: []
});
const reset = (key = breadcrumbGlobalIndexKey) => {
items.value[key] = [];
};
app.provide(breadcrumbPluginKey, { items, reset });
}
};
export {
breadcrumbPlugin
};
//# sourceMappingURL=index.mjs.map