|
@ -22,9 +22,14 @@ |
|
|
Please check available formats carefully. |
|
|
Please check available formats carefully. |
|
|
</v-alert> |
|
|
</v-alert> |
|
|
<h2>Example format</h2> |
|
|
<h2>Example format</h2> |
|
|
<code class="mb-10 pa-5 highlight"> |
|
|
|
|
|
<span>{{ exampleFormat }}</span> |
|
|
|
|
|
</code> |
|
|
|
|
|
|
|
|
<v-sheet |
|
|
|
|
|
v-if="exampleFormat" |
|
|
|
|
|
:dark="!$vuetify.theme.dark" |
|
|
|
|
|
:light="$vuetify.theme.dark" |
|
|
|
|
|
class="mb-5 pa-5" |
|
|
|
|
|
> |
|
|
|
|
|
<pre>{{ exampleFormat }}</pre> |
|
|
|
|
|
</v-sheet> |
|
|
<h2>Select a file</h2> |
|
|
<h2>Select a file</h2> |
|
|
<v-file-input |
|
|
<v-file-input |
|
|
v-model="file" |
|
|
v-model="file" |
|
@ -77,7 +82,6 @@ export default { |
|
|
text_color: '#ffffff' |
|
|
text_color: '#ffffff' |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
console.log(JSON.stringify(data, null, 4)) |
|
|
|
|
|
return JSON.stringify(data, null, 4) |
|
|
return JSON.stringify(data, null, 4) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -110,13 +114,3 @@ export default { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style scoped> |
|
|
|
|
|
.highlight { |
|
|
|
|
|
font-size: 100%; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
} |
|
|
|
|
|
.highlight:before { |
|
|
|
|
|
content: '' |
|
|
|
|
|
} |
|
|
|
|
|
</style> |
|
|
|