Subscribe on changes!

v-html and v-text on components do not work in SSR

avatar
May 31st 2023

Vue version

3.3.4

Link to minimal reproduction

https://play.vuejs.org/#__SSR__eNp9kMEKAiEQhl9lmIuX2r2XCdGlh/ASZSRois5KEL17O8rSEm23f5zv/52ZJ+5j7MpgcIOSjI/uREbpO4C82FJFk1DWN/Jup1EcjXMBril4GBtCo5L9DD4EH3/T3Gk4qy+ezIM+PFeLpuk72c8mHst8TjYSZEMDg9bHkKgGtCjR1QxeV2zZ3gwKVzi9/z1DdoGgXx4BX29Xjm3D

Steps to reproduce

Use any code like:

<Comp v-html="'Hello'"></Comp>

What is expected?

SSR should be Hello

What is actually happening?

Nothing is outputted in SSR. Client side rendering is working fine.

System Info

No response

Any additional comments?

No response

avatar
May 31st 2023

Duplicate of #6553