@mintplayer/vue-bootstrap
v3.34.0
Published
Vue 3.5 Bootstrap components. Each sub-entry renders its own template over a framework-neutral core from @mintplayer/ui-core, with v-model on every two-way input, so it server-renders real HTML and defines no custom elements.
Readme
mintplayer-vue-bootstrap
This library was generated with Nx.
Running unit tests
Run nx test mintplayer-vue-bootstrap to execute the unit tests via Vitest.
Architecture and styling
Each component here is the Vue front of a framework-neutral TypeScript core in
@mintplayer/ui-core (state, keyboard, ARIA, async lifecycles). It renders its own HTML from that
core. It does not wrap or render a web component, so server rendering emits real markup.
- Styles ship per component. A component installs its own scoped sheet and the Bootstrap partial
its markup uses, once per page, when it first renders (written into
<head>during SSR). Your global stylesheet loads only the page-level Bootstrap baseline, never component partials. A component and its styles can ship in the lazy chunk of the page that uses it. - Light DOM, emulated encapsulation. No shadow root. The component's CSS is scoped at build time onto
a
data-mpsattribute, like Angular's_ngcontent. Your CSS and Bootstrap's utilities reach anything you render into a component, page CSS also reaches its internals, and its own rules cannot leak out.
See Styling and encapsulation in the workspace README.
