@eldrajs/theme-vue

Vue 3 bindings for the Eldra theme SDK: block zones, layouts, rich text and the Studio preview composables over @eldrajs/theme-core.
Install
npm install @eldrajs/theme-vue
Latest Version:0.2.3
Vue:3
License:MIT
Last Updated:Oct 27, 2026
Links: GitHub  ·  npm
Maintainer: nokkvi

@eldrajs/theme-vue

Vue 3 bindings for the Eldra theme SDK: EldraBlockZone and EldraLayout render a page's block tree, EldraRichText renders a rich-text document, and useEldra/provideEldra share the entry context down the component tree. useEldraPreview/startEldraPreview wire a theme up to the Studio page-builder preview — live block edits, breakpoint switching, design tokens and the in-place overlay — over @eldrajs/theme-core's bridge. It imports only vue and @eldrajs/theme-core.

pnpm add @eldrajs/theme-vue

Usage

import { createApp } from 'vue';
import { EldraBlockZone, provideEldra } from '@eldrajs/theme-vue';

const app = createApp({
  setup() {
    provideEldra({ entry, client });
  },
});

EldraBlockZone/EldraLayout resolve block components from the virtual:eldra/blocks module that @eldrajs/vite-plugin-theme generates at build time — this package never bundles a stub for it, so it must be consumed through the Vite plugin.

See docs/themes.md for the full theme integration guide.

Related Packages

@eldrajs/theme-nuxt

Nuxt module for Eldra themes: wires @eldrajs/vite-plugin-theme, the gateway clie...

0 0
@alchemy_cms/vue

AlchemyCMS mixins for VueJS

751 3
nuxt-microcms-module

microCMS integration for Nuxt.js

23,457 29
@solspace/freeform-theme-default

Default Freeform theme — semantic ff-* BEM styles (React & Vue)

1,377
@eldrajs/vue

Vue 3 components for Eldra storefronts: the RichText renderer for CMS content, w...

1,112 0

Version History

Version Released Vue License
0.2.3 ^3.4.0 MIT
0.2.2 ^3.4.0 MIT
0.2.1 ^3.4.0 MIT
0.2.0 ^3.4.0 MIT
0.1.0 ^3.4.0 MIT
Pre-releases (1)
Version Released License
0.0.0-stage