vue3-xml-viewer
A Vue 3 component to display a formatted and colored XML document. The project is forked from https://github.com/leon737/vue-xml-viewer and made Vue3 a first class citizen.
116,610
2
| Install | |
|---|---|
npm install vue3-xml-viewer |
|
| Latest Version: | 0.0.14 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Mar 22, 2024 |
| Links: | GitHub · npm |
Maintainer: antony.k1208
vue3-xml-viewer
A Vue 3 component to display a formatted and colored XML document. The project is forked from https://github.com/leon737/vue-xml-viewer and made Vue3 a first class citizen.
Live demo
https://antony-k1208.github.io/vue3-xml-viewer/
Setup
npm install vue3-xml-viewer --save
yarn add vue3-xml-viewer
Usage
<template>
<div>
<XmlViewer :xml="xml" />
</div>
</template>
import XmlViewer from 'vue3-xml-viewer'
export default {
components: {
XmlViewer
},
setup() {
const xml = getSomeXmlAsString()
return {
xml
}
}
}
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 0.0.14 | MIT | |
| 0.0.13 | MIT | |
| 0.0.12 | MIT | |
| 0.0.11 | MIT | |
| 0.0.1 | MIT |