{"id":49750,"library":"wedia-vue","title":"Wedia Vue Plugin","description":"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.","status":"active","version":"2026.3.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","typescript"],"install":[{"cmd":"npm install wedia-vue","lang":"bash","label":"npm"},{"cmd":"yarn add wedia-vue","lang":"bash","label":"yarn"},{"cmd":"pnpm add wedia-vue","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency: Vue 2.x is required","package":"vue","optional":false},{"reason":"peer dependency: HTTP client for REST API calls","package":"axios","optional":false},{"reason":"peer dependency: state management (used in plugin initialization)","package":"vuex","optional":false},{"reason":"peer dependency: utility library for data manipulation","package":"lodash","optional":true},{"reason":"peer dependency: deep comparison utility","package":"deep-equal","optional":true},{"reason":"peer dependency: diacritic normalization","package":"diacritics","optional":true}],"imports":[{"note":"Default export. Use ES import syntax. CommonJS require works but may cause issues with TypeScript type resolutions.","wrong":"const WediaPlugin = require('wedia-vue');","symbol":"WediaPlugin","correct":"import WediaPlugin from 'wedia-vue'"},{"note":"TypeScript: use default import for types as well.","wrong":"import { WediaPlugin } from 'wedia-vue'","symbol":"WediaPlugin (type)","correct":"import type WediaPlugin from 'wedia-vue'"},{"note":"Second argument to Vue.use must be an options object with 'store' property.","wrong":"Vue.use(WediaPlugin, store)","symbol":"Vue.use(WediaPlugin, ...)","correct":"Vue.use(WediaPlugin, { store })"}],"quickstart":{"code":"import Vue from 'vue';\nimport Vuex from 'vuex';\nimport WediaPlugin from 'wedia-vue';\n\nVue.use(Vuex);\nconst store = new Vuex.Store();\nVue.use(WediaPlugin, { store });\n\n// Now components can use this.$wedia for API calls","lang":"typescript","description":"Shows basic setup: install Vuex, create store, then install WediaPlugin with store option."},"warnings":[{"fix":"Use Vue 2.6.10+; do not use with Vue 3.","message":"Vue 2 only: This plugin does not work with Vue 3.","severity":"gotcha","affected_versions":">=2026.3.0"},{"fix":"Call Vue.use(Vuex) and create a store before installing the plugin.","message":"Vuex required: The plugin expects a Vuex store to be installed before calling Vue.use(WediaPlugin).","severity":"gotcha","affected_versions":">=2026.3.0"},{"fix":"Use Vue.use(WediaPlugin, { store }) instead of Vue.use(WediaPlugin, store).","message":"Options object required: The second argument must be an object with a 'store' key.","severity":"gotcha","affected_versions":">=2026.3.0"}],"env_vars":null,"search_vec":"'2':6 '2.6.10':53 '2026.3.0':18 'api':13 'asset':62 'axio':28 'built':35 'built-in':34 'check':43 'context':64 'current':14 'dam':60 'deep':41,46 'deep-equ':45 'definit':68 'diacrit':39 'differenti':33 'digit':61 'enterpris':59 'equal':42,47 'http':30 'integr':20 'interact':9 'javascript':69 'key':32 'lodash':49 'manag':25,63 'normal':40 'plugin':3,7 'primarili':56 'request':31 'requir':51 'rest':12 'ship':65 'stabl':15 'state':24 'support':37 'type':67 'typescript':66,70 'use':27,57 'util':50 'version':16 'via':44 'vue':2,5,52 'vuex':22 'wedia':1,11","created_at":"2026-06-07T17:03:24.836903+00:00","updated_at":"2026-06-07T17:03:24.836903+00:00","problems":[{"fix":"Vue.use(WediaPlugin, { store })","cause":"Passing store directly instead of inside an options object.","error":"Vue.use(WediaPlugin, store) TypeError: Cannot read properties of undefined (reading 'state')"},{"fix":"Run npm install wedia-vue and ensure correct import path.","cause":"Missing dependency or incorrect import path.","error":"Module not found: Can't resolve 'wedia-vue'"},{"fix":"Make sure import Vue from 'vue' is present and Vue is an object with a .use method.","cause":"Vue is not properly imported or initialized.","error":"Uncaught TypeError: Vue.use is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"wedia-vue","openapi_spec":null,"status_page":null,"smithery":null,"categories":["storage"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}