Vue Slot Loader
Use this loader to override parent component slot.
Example
<!-- Base component --> Base Component
Now in the child component you can:
<!-- Base component --><!-- Pass 'name' attribute to slot tag override named slots --> Overrided content
Installation
Vue CLI Project (Webpack chain)
// vue.config.jsmoduleexports = { configmodule ; };
Webpack config
// webpack.config.jsmoduleexports = module: rules: resourceQuery: /blockType=slot/ loader: 'vue-slot-loader' ;