mirror of
https://github.com/tenrok/vue-json-viewer.git
synced 2026-06-05 16:42:30 +03:00
24 lines
495 B
JavaScript
24 lines
495 B
JavaScript
import Vue from 'vue';
|
|
import JsonViewer from '../';
|
|
import './css/ionicons.css';
|
|
|
|
new Vue({
|
|
el: '#app',
|
|
data() {
|
|
return {
|
|
jsonData: {
|
|
name: [
|
|
{key: 2},
|
|
{key: 'hello word'},
|
|
],
|
|
val: {
|
|
b: 'a',
|
|
a: 'hello word',
|
|
asd2: 1,
|
|
asd: false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
components: {JsonViewer}
|
|
}) |