Can i make components SSR only?

I saw the AstroJS framework where they only sent the JS code that actually needes to the client They allow for attributes for components like: - client:idle (only load when the client has loaded everything else) - client:visible (only load when the component is visual) Can this be done with Nuxt? Basicly to eliminate any JS thats not required for the client side. Example: the footer has some components inside of it but after rendering on the server, it wont the JS anymore
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Attacler/Bart
Attacler/BartOP2y ago
😀🥳 Nice!
Want results from more Discord servers?
Add your server