Closed
Description
It would be really useful to be able to override theme-components on a per-component basis.
If they were registered globally not locally, could we then override them in enhanceApp
? :
import Home from './components/theme/Home'
export default ({ Vue, options, router }) => {
Vue.component('home', Home)
}
Either that, or specify components in config.js
?:
import Home from './components/theme/Home'
themeConfig: {
components: {
home: Home
}
}
Maybe eject
could be modified, or a new command added to extract the component to override:
vuepress extract Home.vue
Metadata
Metadata
Assignees
Labels
No labels