Subscribe on changes!

No SSR output from components returned from defineComponent with extends or mixins

avatar
Jan 14th 2021

Version

3.0.5

Reproduction link

https://github.com/vuejs/vue-next/commit/3aa6af445005fc45553d9a5d0ba1d332b14f16c6

Steps to reproduce

  1. Wrap a component with defineComponent call using either mixins or extends options
  2. Attempt to SSR the returned component
  3. Observe that only a comment is rendered

What is expected?

Components extended with defineComponent should render their markup in SSR builds

What is actually happening?

Components extended with defineComponent are rendering comments instead of their expected markup in SSR builds