chore: set json lang

This commit is contained in:
2026-01-07 19:54:32 +01:00
parent a2436cb6d5
commit fbe9ffd246

View File

@@ -1,7 +1,7 @@
<template>
<div class="h-96 w-full border rounded-md overflow-hidden">
<ClientOnly
><MonacoEditor :options="editorOptions" class="h-full w-full"
><MonacoEditor :options="editorOptions" class="h-full w-full" lang="json"
/></ClientOnly>
</div>
</template>
@@ -12,8 +12,8 @@ const editorOptions = {
automaticLayout: true,
fontFamily: "'JetBrains Mono', monospace",
fontSize: 14,
language: "json",
minimap: { enabled: false },
theme: "catppuccin-mocha",
};
if (import.meta.client) {