UNPKG

bootstrap-vue-wrapper

Version:

Bootstrap 5 components in Vue3 wrapper.

33 lines (32 loc) 1.12 kB
import s from "./BsBreadcrumb.vue2.js"; import { resolveComponent as c, openBlock as t, createElementBlock as o, createElementVNode as i, Fragment as u, renderList as d, normalizeClass as m, createBlock as _, withCtx as p, createTextVNode as b, toDisplayString as n } from "vue"; import f from "../../_virtual/_plugin-vue_export-helper.js"; const k = { "aria-label": "breadcrumb" }, h = { class: "breadcrumb" }, v = ["textContent"]; function B(r, C, x, y, $, g) { const a = c("router-link"); return t(), o("nav", k, [ i("ol", h, [ (t(!0), o(u, null, d(r.items, (e, l) => (t(), o("li", { key: l, class: m(["breadcrumb-item", { active: !r.isRouteAvailable(e) }]) }, [ r.isRouteAvailable(e) ? (t(), _(a, { key: 0, to: e.route }, { default: p(() => [ b(n(e.title), 1) ]), _: 2 }, 1032, ["to"])) : (t(), o("span", { key: 1, textContent: n(e.title) }, null, 8, v)) ], 2))), 128)) ]) ]); } const R = /* @__PURE__ */ f(s, [["render", B]]); export { R as default };