Is it possible to show/hide component on mobile with vite-ssg? #311
Unanswered
spokospace
asked this question in
Q&A
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
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