How to write universal code using composition API in Quasar?

Quasar website explains that to write universal code, the code that is in created and beforeCreate lifecycle hooks for Vue components is executed in Server Side Rendering (SSR). My question is: What about setup? How can I achieve SSR functionality with composition API? How can I write universal code in composition API?