repl
repl copied to clipboard
Vue SFC REPL as a Vue 3 component
### Vue version Any version available on Playground ### Link to minimal reproduction https://play.vuejs.org ### Steps to reproduce 1. Open a fresh Vue SFC Playground. 2. Modify the starter code...
already exported `Preview` component: https://github.com/vuejs/repl/blob/main/src/index.ts#L2 but not export `injectKeyProps` symbol: https://github.com/vuejs/repl/blob/47da477696d63e89fe1fc1f2f3de2bfd82775cb0/src/types.ts#L18 As a result, the separate `Preview` component cannot be used at all: https://github.com/vuejs/repl/blob/main/src/output/Preview.vue#L20
According to this [dicussion](https://github.com/vuejs/docs/issues/3018) This pull request expose `resetFiles` to reset all files created by user.
Add format on save (CTRL + S)
I implement a show only preview toggle button On small screens, the toggle button below disappears. On larger screens, it should look like the video below. https://github.com/user-attachments/assets/d0fa24fc-e82c-4fe3-81f9-11ea2eb3c956 close #290
[(bug demo)](https://play.vuejs.org/#eNp9UsFu2zAM/RVClzhA6qDLdsmcYN3Qw3poh3W3aRhch0ndypIgUVkGw3+x79h9p/3MsO8oJddpUxQ92JD4nsjHR7bixNp8G1DMReErV1sCjxTsUuq6scYRtOBwPYHKNDYQrqCDtTMNjPjRSGqpK6M9AaGnE+dgEdnZV6mh5Q9UeYVqDlIcSzGJgW2pAj4KdPF3SH31lHofiNRv47eHNbngoCzLxrBYpmQRNwpzZTaZFHvpR0dLTjVozVOBmJA1U3D6EOB4F8Fi2vvCjvCFsLGqJOQbtC2cXV6c555crTf1+mcWE4yh6xgsrgKR0fCuUnV1u5BiSG6Dv87aod3RbDQZOuUzdGMplv/+/v7/60/pXDHts3C1YrovLSaCPLe4rjf5jTeaZ5cc7DutFboLSzVbIMW89zZipVLmx1mKkQuYLE5vrrG6fSZ+43cxJsUnhx7dFu/HEjEq3Qaph08vz3HH5z3YmFVQzH4B/Iw8nhA19rT3Qa9Y9iNeUvsxbSB7+8Wf7gi1H5qKQiMzbQ+zeRc/vND6g9xZ/jq949myi9+36GJONnCWv8mPZ6K7A9HuBVE=) It should only perform the callback once initially, but it is also performed when the 'push' subitem is executed When I run this code in the project, it...
can repl support more pre-processors like LESS, SASS and SCSS?
Does it support Vue router?