zernonia / vue0

Vue version open source alternative for v0.dev

Home Page:https://vue0.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edit code and save to DB

zernonia opened this issue · comments

We can use code-mirror or monaco.
(code-mirror might be easier to setup)

Learn.nuxt has implemented this if they wouldn't mind using the code :) -> https://github.com/nuxt/learn.nuxt.com/tree/main

Thanks @cpreston321 ! Yup I know about Learn.Nuxt using Monaco instance. The more I think about it the more I feel like it's too much trouble and challenges just to make monaco works.

Furthermore, I think editing code allow user to made some minor changes, we don't need the full fledged Monaco feature.