mirror of
https://github.com/tenrok/vue-json-viewer.git
synced 2026-06-05 16:42:30 +03:00
19 lines
252 B
Vue
19 lines
252 B
Vue
<template>
|
|
<span class="json-string">"{{jsonValue}}"</span>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'JsonString',
|
|
props: {
|
|
jsonValue: String
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.json-string {
|
|
color: #42b983;
|
|
}
|
|
</style>
|