Coding task · Vue.js course · Module 14: Directives & Plugins

Practice: Theme Plugin with Options

Create a ThemePlugin using the options pattern and provide/inject.

Task

Implement a ThemePlugin with default options, a setTheme method, and a global v-themed directive.