Subscribe on changes!

The vue component library uses `defineAsyncComponent`, which is used in the project and reports an error `component is missing template or render function`.

avatar
Nov 27th 2022

Vue version

3.2.38

Link to minimal reproduction

https://sfc.vuejs.org/#eNo9j71uwzAMhF+F5eIWqCV0NZQA3foGXbikjpw40B9EOR0EvXspp8imu9N9OFb8TEndN4sTGp7zmgqwLVs6Ulh9irlAhWwXaLDk6GGQrwMFCnMMXMDzBQ49fx2+rHMRvmN255fhjYLRD5yARBTrkzsVKwrAXD+Ote7l1owWtbtrSFuB++jj2boDoeSEEhn9bOM7PlaN/pTUjWOQ3bW36T9gwgl2p3uytmvCaymJJ615mfu1N1YxX7S8VN5CWb1Vlv34k+Mv2yxgwo5oFBq2P3/sZE8=

Steps to reproduce

Use rollup to compile the component library and use the component in the project component library version

{
    "rollup": "^2.77.2",
    "rollup-plugin-vue": "6.0.0",
    "@vue/compiler-sfc": "3.2.45",
}

What is expected?

Import display components normally

What is actually happening?

[Vue warn]: Component is missing template or render function

System Info

No response

Any additional comments?

No response

avatar
Nov 27th 2022

No reproduction provided

avatar
Nov 28th 2022

No reproduction provided

Let me see how to provide it, this link is a bit long, one is in the component library, and the other is the project.