{"id":22472581,"url":"https://github.com/e-chan1007/nuxt-monaco-editor","last_synced_at":"2025-05-16T07:07:45.528Z","repository":{"id":65531278,"uuid":"527861407","full_name":"e-chan1007/nuxt-monaco-editor","owner":"e-chan1007","description":"Integrate monaco-editor with Nuxt","archived":false,"fork":false,"pushed_at":"2024-10-19T15:34:16.000Z","size":6229,"stargazers_count":127,"open_issues_count":13,"forks_count":15,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T17:17:45.748Z","etag":null,"topics":["monaco-editor","nuxt","nuxt-module","nuxt3"],"latest_commit_sha":null,"homepage":"https://e-chan1007.github.io/nuxt-monaco-editor","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/e-chan1007.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-23T06:29:49.000Z","updated_at":"2025-03-24T11:45:47.000Z","dependencies_parsed_at":"2024-06-18T22:48:39.917Z","dependency_job_id":"00b8085f-3294-403a-9e3b-ebd2a4701efc","html_url":"https://github.com/e-chan1007/nuxt-monaco-editor","commit_stats":{"total_commits":67,"total_committers":3,"mean_commits":"22.333333333333332","dds":0.02985074626865669,"last_synced_commit":"e7ad7f01dd5a369faeb56bc089fe0539bbf1953b"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-chan1007%2Fnuxt-monaco-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-chan1007%2Fnuxt-monaco-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-chan1007%2Fnuxt-monaco-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-chan1007%2Fnuxt-monaco-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-chan1007","download_url":"https://codeload.github.com/e-chan1007/nuxt-monaco-editor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253360748,"owners_count":21896377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["monaco-editor","nuxt","nuxt-module","nuxt3"],"created_at":"2024-12-06T12:16:27.236Z","updated_at":"2025-05-16T07:07:40.512Z","avatar_url":"https://github.com/e-chan1007.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Nuxt Monaco Editor\n[![npm version](https://badge.fury.io/js/nuxt-monaco-editor.svg)](https://badge.fury.io/js/nuxt-monaco-editor)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/8b4585be9901491795f8b3c2f5dbb680)](https://www.codacy.com/gh/e-chan1007/nuxt-monaco-editor/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=e-chan1007/nuxt-monaco-editor\u0026amp;utm_campaign=Badge_Grade)\n[![Test result](https://github.com/e-chan1007/nuxt-monaco-editor/actions/workflows/test.yml/badge.svg)](https://github.com/e-chan1007/nuxt-monaco-editor/actions/workflows/test.yml)\n\nIntegrate [monaco-editor](https://microsoft.github.io/monaco-editor/) with Nuxt\n\n## Install\n```sh\nnpx nuxi@latest module add nuxt-monaco-editor\n```\nDon't forget to install `monaco-editor`.\n\n## Setup\n1. Add this module to the Nuxt config \n\n```ts\nexport default defineNuxtConfig({\n  modules: [\n    'nuxt-monaco-editor'\n  ]\n})\n```\n\n2. (Optional) Configure the module \n\n```ts\nexport default defineNuxtConfig({\n  monacoEditor: {\n    // These are default values:\n    locale: 'en',\n    componentName: {\n      codeEditor: 'MonacoEditor',\n      diffEditor: 'MonacoDiffEditor'\n    }\n  }\n})\n```\n\n3. Use the component in your pages or components \n\n```vue\n\u003ctemplate\u003e\n  \u003cMonacoEditor v-model=\"value\" lang=\"typescript\" /\u003e\n\u003c/template\u003e\n\n\u003cscript lang=\"ts\" setup\u003e\nconst value = ref('')\n\u003c/script\u003e\n```\n\n## Development\n\n- Run `npm run dev:prepare` to generate type stubs.  \n- Use `npm run dev` to start [playground](./playground) in development mode.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-chan1007%2Fnuxt-monaco-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-chan1007%2Fnuxt-monaco-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-chan1007%2Fnuxt-monaco-editor/lists"}