I attempt to clone codepen.io using Vue 3 and Monaco editor.
-
Install dependencies
npm install
-
Fire up the server and watch files
npm run dev
VSCode + Vetur. Make sure to enable vetur.experimental.templateInterpolationService
in settings!
<script setup>
is a feature that is currently in RFC stage. To get proper IDE support for the syntax, use Volar instead of Vetur (and disable Vetur).