{"repo":"rennzhang/codemirror-editor-vue3","free":true,"listed":false,"github":"https://github.com/rennzhang/codemirror-editor-vue3","clone":"git clone https://github.com/rennzhang/codemirror-editor-vue3.git","description":"CodeMirror component for Vue3","language":"TypeScript","stars":250,"topics":["codemirror","vue3","vite","vue-next","codemirror-editor-vue3","vue-components","editor","vuejs","web-editor","code-editor"],"license":"MIT","category":"ui-components","readme_excerpt":"Introduction 简体中文 The codemirror component of vue3. This component is developed based on Codemirror 5 and only vue3 is supported. In addition to the officially supported modes, the log output presentation mode is added, out of the box, but not necessarily suitable for all scenarios. For complete documentation and more cases, please check codemirror-editor-vue3 docs. Install If your project requires Typescript support, you will also need to install the '@types/codemirror' dependency. Register global component Do not recommend global registration components , which will result in the type of prompt on the template that cannot be properly obtained. main.js: The global registered component name is Codemirror or you can customize a component name, for example: Use in components Language highlighting You can click on the following link to view corresponding language cases - javascript - json - css - html - apl - yaml More cases are gradually being added, and you can also refer to document to achieve more language modes. Component Props [cm config url]: https://codemirror.net/doc/manual.html#config [cm editor type url]: https://codemirror.net/doc/manual.html#config [default options url]: https://github.com/RennZhang/codemirror-editor-vue3/blob/main/packages/src/config/index.ts#L68 name description type default ------------------- :---------------------------------------------------------------------------------------------------------------------------------------: :----------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/rennzhang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rennzhang/codemirror-editor-vue3/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}