// nuxt.config.ts export default defineNuxtConfig({ modules: ['nuxt-monaco-editor'], monacoEditor: { locale: 'ja' } })
このように設定すると、UIが日本語で表示されます。
使用可能な言語はこちらに記載しています。
開発サーバーを実行している場合、UIが翻訳されないことがあります。
<template> <MonacoEditor :options="{ theme: 'vs-dark' }" /> </template>
このように設定すると、UIがダークモードで表示されます。
このページの目次