@timshaw9791/we-editor
v0.1.7
Published
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
Downloads
6
Readme
Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
Recommended IDE Setup
相关链接
- https://juejin.cn/post/6933463466111926286
- https://github.com/vitejs/vite/discussions/1791
- https://github.com/bazingaedward/monaco-editor-vue3
需要实现的功能
- [x] 锁行限制
- [ ] 编译及运行TS代码(在给定context的环境下) https://stackoverflow.com/questions/55132485/how-can-i-get-the-transpiled-code-from-the-monaco-editor 、 https://stackoverflow.com/questions/43463344/getting-errors-from-monaco-editor
- [ ] 单TS智能感知(语法、语义错误)
- [ ] 定制错误提示(针对JSON格式错误的翻译和定制、和部分英文错误的中文翻译)
- [ ] JSON 校验(并进行友好提示)
- [ ] 多TS智能感知(引入其他的头文件,并且隐藏?)
其他参考资料
- https://www.cnblogs.com/FuturexGO/p/12976656.html
- https://blog.csdn.net/qq_30849965/article/details/109028974