yehyecoa

Active
/yeh-yeh-CO-ah/‘to try; to experiment; to rehearse’

A focused Vue playground for rehearsing code together.

Devlog
Stack
  • vue
  • typescript
  • monaco
  • partykit
  • pinia
  • dexie
  • unocss

My own spin on the Vue Playground, originally built to run inside the lessons of Amoxtli Vue. It leaves out the version picker and the compiled output, so a learner sees only their component and what it renders. The premise is the same: based on the Vue repl official component. I added support for the console as well as the snapshots. And something else...

yehyecoa-vue.ackzell.devOpen in a new tab
On its own here, with no workshop to join. Snapshots stay in your browser.

That something else is the room, the one thing this page can't show. In a workshop, an instructor broadcasts code through the REPL and every student's editor follows along live: edits, selections and scrolling included, in whichever theme each student prefers, even if it is in the middle of the explanation.

The idea is that as an instructor you can live code an example or a concept you are trying to teach, and your students see exactly what you're doing, but can also play with that code on their own machine whenever they want to.

Every try can be saved as a snapshot, compared against the current code and be restored. Hopefully that makes for a more immersive workshop, and stays true to the meaning of the name: to try, to experiment, to rehearse.

An experiment on an AI-generated video for the project.Watch on YouTube
You make a change on the editor and the preview gets automagically updated.
See what the console.log() call outputs without having to open up your browser's devtools..
Arrange the layout of the panels however you feel more comfortable working. Make this space your own.
As an instructor, you can broadcast your changes in a room, and any student connected to it will follow code changes, selections, and scroll.
As a student, you can follow your instructor's changes, selection, and scroll while connected to the room. You can pause the connection and play around with the code locally, and when you rejoin you will get the latest updates from the broadcast.Do it while on light or dark mode. Your choice.
A very simple version control system will help you keep track of your experiments. Use them to compare with previous changes or to restore to a state where you want the code to be.
Learn what the latest changes and fixes are via the changelog.

Here's a video explanation of the live features and a little bit of a walkthrough. (Mind you that the UI might not look exactly the same, but the live features do behave the same):

A quick walkthrough of the live features for instructors' broadcast, and students following along the lesson explanation.Watch on YouTube
  • The playground in dark mode, the file list, the editor with App.vue and the rendered preview side by side.
  • The console docked under the editor, with the preview taking the full height.
  • The instructor's window while broadcasting, with a block of styles selected.
  • A student's window in the light theme, marked as following the instructor.
  • A side-by-side diff between the current code and a saved snapshot, over the snapshot drawer.
  • The changelog sheet open over the playground, listing three beta releases.