Subscribe on changes!

getSSRProps does not work when using template

avatar
Jan 21st 2022

Version

3.2.28

Reproduction link

github.com/Demivan/ssr-issue

Steps to reproduce

  1. Checkout
  2. pnpm i
  3. pnpm test

Check the failing test

What is expected?

When getSSRProps is implemented on a directive it should be used by server-renderer.

What is actually happening?

getSSRProps is not executed and attributes not are added.


This works when using render function.