Different components for different types of devices
Hello. If I want the component to be rendered only cliend-side, I add a suffix .client. Is it possible to come up with something similar depending on the type of device?
P.S. Now I'm using @nuxtjs/device to detect the device.
3 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Now I do just that. But perhaps there is a more correct option, by analogy with the suffix in the component file name (.client or .server) or the prefix in the component name (Lazy for async component).
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View