repl
repl copied to clipboard
Vue SFC REPL as a Vue 3 component
reference:https://github.com/vuejs/core/issues/11423
The page cannot have two monaco based repl instances at the same time, They will influence each other. Based on CodeMirror, there is no such issue。 https://github.com/user-attachments/assets/7f81cea3-014f-435f-b64d-29e88122e3f3
I used the monaco-editor in my project and switched back to look like this. 
FYI: This only happens when open a new REPL browser tab via click a [link](https://repl-vuejs.vercel.app/). When refresh this tab, everything works, weird.
Reproduce Steps: - Open [repl](https://repl-vuejs.vercel.app/) - Add `lang="ts"` on `` - Add `const foo = 1` at the end of `` - Hover `foo`, type not correct
SFC playground is probably the best ground on Vue testing, but Emmet support is really missing. Is possible to add it? ;-)
# Description It seems this bug was introduced in this commit: https://github.com/vuejs/repl/commit/295c0e809d980fc04dcac86efc3e64044218792a when upgrading the `@volar/monaco` package from `1.9.2` to `1.10.5`. The first ocurrence of this bug in the Volar.js...
Replace the cdn address(https://cdn.jsdelivr.net/npm) with an on-premises address
Hey, we are using the `@vue/repl` package for the [playground](https://playground.onyx.schwarz) of our onyx component library. We have added a select to choose the used version of the onyx library and...
### Vue version all ### Link to minimal reproduction https://play.vuejs.org/#eNp9kctOwzAQRX9l5E1SqUoXsCppJUBdUImHoEtvQjJJUxLb8iMtqvLvjF0aggTdRPGcM/Yd+8hulUo6h2zOUpPrWlkwaJ1aclG3SmoLR5DiUTphsYAeSi1biKghuhkZ+8zm21VZYm7/dTSWvxgXXORSGAvyfQcLz+MjFwAia3EO0Ua25PQT7432j+MJLJbgO2WDSSOrmPqTLmscToI8xP1WB5z4nemkaI1af0Ykp7PTzDQtLSy2qsks0gogLepumc7813sjxqbMGjq/rKtkZ6Sgqwu5Octlq+oG9bOyNeXjbA6BeJY1jdyvQ81qh9NzPd9i/vFHfWcOvsbZi0aDukPOBmYzXaE94dXbEx7of4CtLFxD9gX4inR3zmc8aXdOFBR75IW0D+HpalFtzOpgUZjzUD6oN/vgc0bPeX9h9J+4V8l16KN3Zf0XPxTU/w== ### Steps to reproduce 1. Open the reproduction link 2. Check the console ### What is expected? 1. Log the...