You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some components which I'm trying to hide on mobile using v-if and checking e.g. by checking size using useBreakpoints.
It's okay on localhost, but after build on server, all components are shown - even on mobile devices.
There is any way to hide some unused components only on mobile using with vite-ssg?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have some components which I'm trying to hide on mobile using v-if and checking e.g. by checking size using useBreakpoints.
It's okay on localhost, but after build on server, all components are shown - even on mobile devices.
There is any way to hide some unused components only on mobile using with vite-ssg?
I created a store info.ts and used function:
but it doesn't work on production
Beta Was this translation helpful? Give feedback.
All reactions