Registry / storage / wedia-vue

wedia-vue

JSON →
library2026.3.0jsnpmunverified

A Vue 2 plugin for interacting with Wedia REST APIs. Current stable version is 2026.3.0. It integrates with Vuex for state management and uses axios for HTTP requests. Key differentiators: built-in support for diacritics normalization, deep equality checks via deep-equal, and lodash utilities. Requires Vue 2.6.10+ and is primarily used in enterprise DAM (Digital Asset Management) contexts. Ships TypeScript type definitions.

npm install wedia-vue
INSTALL
IMPORT
SIG · WEDIA-VUE
W
wedia-vue
storagejavascriptv2026.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WediaPlugin
import WediaPlugin from 'wedia-vue'
const WediaPlugin = require('wedia-vue');
Default export. Use ES import syntax. CommonJS require works but may cause issues with TypeScript type resolutions.
WediaPlugin (type)
import type WediaPlugin from 'wedia-vue'
import { WediaPlugin } from 'wedia-vue'
TypeScript: use default import for types as well.
Vue.use(WediaPlugin, ...)
Vue.use(WediaPlugin, { store })
Vue.use(WediaPlugin, store)
Second argument to Vue.use must be an options object with 'store' property.

Shows basic setup: install Vuex, create store, then install WediaPlugin with store option.

import Vue from 'vue'; import Vuex from 'vuex'; import WediaPlugin from 'wedia-vue'; Vue.use(Vuex); const store = new Vuex.Store(); Vue.use(WediaPlugin, { store }); // Now components can use this.$wedia for API calls
Debug
Known issues
gotchaVue 2 only: This plugin does not work with Vue 3.
fix
Use Vue 2.6.10+; do not use with Vue 3.
affects: >=2026.3.0
gotchaVuex required: The plugin expects a Vuex store to be installed before calling Vue.use(WediaPlugin).
fix
Call Vue.use(Vuex) and create a store before installing the plugin.
affects: >=2026.3.0
gotchaOptions object required: The second argument must be an object with a 'store' key.
fix
Use Vue.use(WediaPlugin, { store }) instead of Vue.use(WediaPlugin, store).
affects: >=2026.3.0
Errors
Common errors & fixes
Vue.use(WediaPlugin, store) TypeError: Cannot read properties of undefined (reading 'state')
Passing store directly instead of inside an options object.
fix
Vue.use(WediaPlugin, { store })
Module not found: Can't resolve 'wedia-vue'
Missing dependency or incorrect import path.
fix
Run npm install wedia-vue and ensure correct import path.
Uncaught TypeError: Vue.use is not a function
Vue is not properly imported or initialized.
fix
Make sure import Vue from 'vue' is present and Vue is an object with a .use method.
Upgrade
Version history
2026.3.0latest on npm
Audit
Dependencies
vuerequiredpeer dependency: Vue 2.x is required
axiosrequiredpeer dependency: HTTP client for REST API calls
vuexrequiredpeer dependency: state management (used in plugin initialization)
lodashoptionalpeer dependency: utility library for data manipulation
deep-equaloptionalpeer dependency: deep comparison utility
diacriticsoptionalpeer dependency: diacritic normalization
Agent activity
39 hits · last 30 days
node
38
Resources
wedia-vue — npm install wedia-vue · libregistry