vue-json-to-html-table
vue-json-to-html-table
A Vue.js 3 component to transform json data in to html.
Installation
npm install vue-json-to-html-table
Usage
For vue-cli user:
import VueJsonToHtmlTable from 'vue-json-to-html-table';
import 'vue-json-to-html-table/dist/style.css';
In your App.vue:
<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 |
Related Packages
gradual-json
Parse async JSON string chunks into progressively constructed objects, including...
491
0
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.7 | ^3.2.16 | ISC | |
| 0.0.6 | ^3.2.16 | ||
| 0.0.5 | ^3.2.16 | ||
| 0.0.4 | ^3.2.16 | ||
| 0.0.3 | ^3.2.16 | ||
| 0.0.2 | ^3.2.16 | ||
| 0.0.1 | ^3.2.16 |