question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

enhanceApp options should merge options we pass

See original GitHub issue

Feature 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
MickaMxcommented, Aug 2, 2019

Yep, I saw that. It didn’t got merge yet ^^

0reactions
jsbaguettecommented, Jan 28, 2020

@meteorlxy answered to the question thx i am closing the issue

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found