nuxt / create-nuxt-app

Create Nuxt.js App in seconds.
MIT License
3.48k stars 428 forks source link

Change ssr markup string before sending to client #946

Open Brandaser00 opened 2 years ago

Brandaser00 commented 2 years ago

Is your feature request related to a problem? Please describe.

Basically, I need to change some attributes on elements right before the markup stringt is sent to client. Is there a place where I can add my handler? Or is there any other way to do it?

Describe the solution you'd like

Pass a handler function which would transform some parts of the markup.

Describe alternatives you've considered

Changing attributes directly in the components is not a good option, since I need to dynamically change them based on different parameters.