ebt-vue is a specialized Vue 2 and Vuetify-based component library meticulously crafted for the EBT-Site project, which is integral to the SuttaCentral and SuttaCentral Voice initiatives. It delivers a collection of reusable UI components specifically tailored for applications that handle Pali texts, the Buddha's teachings, and Sutta translations, likely integrating with `bilara-data`. The package's current stable version is 1.55.3312, suggesting an active development lifecycle with frequent minor updates and patches. Its primary differentiator lies in its deep integration with the specific domain of Buddhist texts and the SuttaCentral ecosystem, providing purpose-built UI solutions rather than general-purpose components. The library's release cadence appears consistent, reflecting ongoing development efforts for its target application.
npm install ebt-vueVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to set up a basic Vue 2 application, import EBT-Vue and Vuetify, and render a simple component from the library, including typical Vuetify integration.
Continue using Vue 2 or seek a Vue 3 compatible alternative. If migrating an existing Vue 2 app, ensure Vue 3 compatibility is considered across the entire dependency tree.
Install Vuetify (`npm install vuetify@^2.x`) and initialize it in your Vue application's main entry point (`Vue.use(Vuetify);`).
Evaluate if the components align with your project's domain and design system. Expect to potentially override styles or adapt functionality if used outside of the EBT-Site context.
Ensure `vuetify: new Vuetify()` is passed to your Vue instance options, and if using a build system, verify that Vue's runtime-only build is not being used without a pre-compiler. Install `@vue/cli-plugin-babel` if needed.
Import the component (`import { EbtToolbar } from 'ebt-vue';`) and then register it: either `Vue.use(EbtVuePlugin)` if a plugin is available, or add it to the `components` option of your Vue instance/component: `{ components: { EbtToolbar } }`.Run `npm install ebt-vue` or `yarn add ebt-vue`. Verify the import path is correct (`from 'ebt-vue'`). If using TypeScript, ensure `allowSyntheticDefaultImports` and `esModuleInterop` are true in `tsconfig.json`.