**Work in progress...** <br /> This project is created to help us validate XML or JSON scheme inside of Codemirror plugin.
npm install codemirror-editor-vue3-knowit-vite- Validate XML
- Validate JSON
- Export errors as a file
``bash`
npm i codemirror-editor-vue3-knowit-vite
main.js
import CodeEditor from "codemirror-editor-vue3-knowit-vite"
import "codemirror-editor-vue3-knowit-vite/dist/style.css"const app = createApp(App);
app.use(CodeEditor)
app.mount('#app')
`Example of invalid XML
`Usage example invalid XML on scheme
export default {
data() {
return {
type: 'xml',
content:
,
schemaUrl: ''
};
},
};
`TODO:
- Translation XML (СРБ - ENG)
- Translation JSON (СРБ - ENG)
$3
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3