nuxt-monaco-editor 1.4.0 → 1.4.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/i18n/cs.json +6541 -1403
- package/dist/i18n/de.json +6559 -1421
- package/dist/i18n/es.json +6552 -1414
- package/dist/i18n/fr.json +6623 -1485
- package/dist/i18n/it.json +6566 -1428
- package/dist/i18n/ja.json +6526 -1388
- package/dist/i18n/ko.json +6520 -1382
- package/dist/i18n/pl.json +6569 -1431
- package/dist/i18n/pt-BR.json +6549 -1411
- package/dist/i18n/qps-ploc.json +6462 -1324
- package/dist/i18n/ru.json +6544 -1406
- package/dist/i18n/tr.json +6527 -1389
- package/dist/i18n/zh-hans.json +6483 -1345
- package/dist/i18n/zh-hant.json +6512 -1374
- package/dist/module.json +2 -2
- package/dist/module.mjs +4 -4
- package/dist/runtime/MonacoDiffEditor.client.d.vue.ts +51 -0
- package/dist/runtime/MonacoDiffEditor.client.vue.d.ts +7 -6
- package/dist/runtime/MonacoEditor.client.d.vue.ts +45 -0
- package/dist/runtime/MonacoEditor.client.vue.d.ts +7 -6
- package/dist/runtime/composables.d.ts +1 -2
- package/package.json +29 -44
- package/CHANGELOG.md +0 -219
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ npx nuxi@latest module add nuxt-monaco-editor
|
|
|
13
13
|
Don't forget to install `monaco-editor`.
|
|
14
14
|
|
|
15
15
|
## Setup
|
|
16
|
-
1. Add this module to the Nuxt config
|
|
16
|
+
1. Add this module to the Nuxt config
|
|
17
17
|
|
|
18
18
|
```ts
|
|
19
19
|
export default defineNuxtConfig({
|
|
@@ -23,7 +23,7 @@ export default defineNuxtConfig({
|
|
|
23
23
|
})
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
2. (Optional) Configure the module
|
|
26
|
+
2. (Optional) Configure the module
|
|
27
27
|
|
|
28
28
|
```ts
|
|
29
29
|
export default defineNuxtConfig({
|
|
@@ -38,7 +38,7 @@ export default defineNuxtConfig({
|
|
|
38
38
|
})
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
3. Use the component in your pages or components
|
|
41
|
+
3. Use the component in your pages or components
|
|
42
42
|
|
|
43
43
|
```vue
|
|
44
44
|
<template>
|
|
@@ -52,5 +52,5 @@ const value = ref('')
|
|
|
52
52
|
|
|
53
53
|
## Development
|
|
54
54
|
|
|
55
|
-
- Run `
|
|
56
|
-
- Use `
|
|
55
|
+
- Run `pnpm dev:prepare` to generate type stubs.
|
|
56
|
+
- Use `pnpm dev` to start [playground](./playground) in development mode.
|