You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vue-json-to-html-table

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-json-to-html-table - npm Package Compare versions

Comparing version

to
0.0.6

2

package.json

@@ -15,3 +15,3 @@ {

},
"version": "0.0.5",
"version": "0.0.6",
"scripts": {

@@ -18,0 +18,0 @@ "dev": "vite",

@@ -1,7 +0,41 @@

# Vue 3 + Vite
# vue-json-to-html-table
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.
A Vue.js 3 component to transform json data in to html.
## Recommended IDE Setup
## Installation
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
`npm install vue-json-to-html-table`
## Usage
For vue-cli user:
```javascript
import VueJsonToHtmlTable from 'vue-json-to-html-table';
import 'vue-json-to-html-table/dist/style.css';
```
In your App.vue:
```jsx
<template>
<div id="app">
<VueJsonToHtmlTable :data="jsonData" />
</div>
</template>
import VueJsonToHtmlTable from 'vue-json-to-html-table';
export default {
components: {
...,
VueJsonToHtmlTable
}
}
```
*Important: data must be in valid json format.*
## Configuration
| Prop | Details |
|----------|------|
| data | Data in valid json format |