Closed DarrenXu94 closed 10 months ago
It selects which half (code or output) is displayed by default on small screens.
@DarrenXu94 If your screen width is less than 720px, it will be considered as a mobile device, and at this time, either the editor or the preview will be automatically hidden. You can see this code: https://github.com/vuejs/repl/blob/main/src/SplitPane.vue#L162
https://stackblitz.com/edit/vitejs-vite-ndcbpe?file=src%2Fcomponents%2FExampleRepl.vue
I've added the showOutput arg into the ReplStore constructor but it doesn't seem to be doing anything. Is it supposed to hide one of the panels?
Using @vue/repl": "^3.0.0