enhanceApp options should merge options we pass
See original GitHub issueFeature request
actually i am building additional page from components with docs
https://github.com/f3ltron/vuepress-plugin-docgen
// https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/core/lib/client/app.js#L88
const options = {}
try {
appEnhancers.forEach(enhancer => {
if (typeof enhancer === 'function') {
enhancer({ Vue, options, router, siteData, isServer })
}
})
} catch (e) {
console.error(e)
}
const app = new Vue(
Object.assign(options, {
router,
render (h) {
return h('div', { attrs: { id: 'app' }}, [
h('router-view', { ref: 'layout' }),
h('div', { class: 'global-ui' }, globalUIComponents.map(component => h(component)))
])
}
})
)
What problem does this feature solve?
when we use some front plugin like vue18n in my case by letting me merge my options into options there will be no more bug for $t is not define
What does the proposed API look like?
The merge should merge dynamically our options
Are you willing to work on this yourself?
i can if it’s accepted
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:14 (2 by maintainers)
Top Results From Across the Web
Git merge strategy options & examples
Git merge strategies include resolve, recursive, octopus, ours, and subtree. Learn the pros and cons, and which strategy and options are best for...
Read more >Git - git-merge Documentation
Pass merge strategy specific option through to the merge strategy. ... After a git merge stops due to conflicts you can conclude the...
Read more >The best styling options for Next.js
Choosing a styling option is dependent on many factors. Thankfully, Next.js offers built-in support for CSS in a variety of different ways.
Read more >Splunk | The Data Platform for the Hybrid World
Splunk is the data platform that powers enterprise observability, unified security and limitless custom applications in hybrid environments.
Read more >Topaz Video AI
Topaz Video AI focuses solely on completing a few video enhancement tasks really well: deinterlacing, upscaling, and motion interpolation. We've taken five ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, I saw that. It didn’t got merge yet ^^
@meteorlxy answered to the question thx i am closing the issue