Building plugins for Vue and Vuex
summary
Built a timers plugin and vuex-persist saves store to localStorage for real projects, written in TypeScript and published with rollup; distribution includes .d.ts and dist includes CJS ESM and UMD builds so it works via npm or script src (unpkg/jsdelivr). Demo plugins (CSS debug, store-flash) visibly change page CSS or blink on every mutation. Tests mount small Vue components with jsdom and assert a timer update after 500ms.
AI-written summary · about
chapters (5)
- 0:00Start
- 3:01What Are Plugins
- 3:32View Cli Plugins
- 15:45When To Make Plugins
- 16:51Should You Make a Plugin or Should You Just Create a Function and Exploiters
related talks
49mVue and Vuex: Structure your app with centralized state management
47mReal and Scalable Applications with Nuxt, Vuex and Typescript
31mBuilding Components for Vue 2&3 - an Attempt at solving the challenge
30mEmpowering Vue with TypeScript, Inversify, Vuex and some other super to
37mState of Vue 2026
35mMaking Vue with Vue
47mVue & Vuex
37mPatterns for Large Scale Vue.js Applications
