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.

Allow use of export default baseMixins.extend().extend({

See original GitHub issue

In vuetify (and other libraries), people do not use Vue.extend, they use somthingimportant.helloWorld().whynotHereasWell.extend to create their components in typescript.

vue-docgen-api could simply still parse it.

Update resolveExportedComponent.ts to accept anything before the .extend({

CC @jcchrrr

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
elevatebartcommented, Dec 12, 2019

exactly

1reaction
elevatebartcommented, Dec 12, 2019

Create another folder here and call it vuetify add a vuetify component and try parsing it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue extend a class that has an import - Stack Overflow
You can assign it to a data property: import Service from '../service'; export default { data() { return { testData: 'test', ...
Read more >
Building Packageable Components to Extend Vuetify with ...
Instead, use a data or computed property based on the prop's value. ... export default base.extend<options>().extend({.
Read more >
Extend and Mixins | Vue Class Component
You can extend an existing class component as native class inheritance. ... Define a super class component @Component export default class Super extends...
Read more >
JavaScript modules - MDN Web Docs
You can export functions, var , let , const , and — as we'll see later — classes. They need to be top-level...
Read more >
Why is "export default var a = 1;" invalid syntax? - ES Discuss
export default var Klass = Backbone.Model.extend(); Klass.prototype.whatever = whatever; // ... For that use case will the following be functionally ...
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