Grabbing a specific ref from a `.server.ts` page, in a `$fetch`
Hi guys, my scenario is:
1. Have a valid rendering
foo.server.ts
template
2. Have a ref='bar'
on a HTML section within the template
3. Have a server route of /api/test
Within this route, I'd like to fetch the server rendered template, and grab specifically the bar
reference on the resulting HTML.
So far I can only manage to get the full foo.server.ts
HTML dump via $fetch()
. Is there any way to grab the bar
template ref? Thanks0 Replies