🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

vue3-xml-viewer

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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.

0.0.14
latest
Source
npm
Version published
Weekly downloads
754
15.29%
Maintainers
1
Weekly downloads
 
Created
Source

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
        }
    }
}

Keywords

xml

FAQs

Package last updated on 22 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts