@@ -679,6 +679,30 @@ export default {
679679
680680<br >
681681
682+ ### Vite
683+
684+ Ready to use right out of the box.
685+
686+ <br >
687+
688+ ### Vue CLI 5 / webpack 5
689+
690+ Ready to use right out of the box.
691+
692+ <br >
693+
694+ ### Vue CLI 4 / webpack 4
695+
696+ Vite 4 (Rollup 3) uses ES2020 as compiler target by default, therefore Vite-4-built outputs should be transpiled in webpack 4:
697+
698+ ``` js
699+ module .exports = {
700+ transpileDependencies: [' json-editor-vue' ],
701+ }
702+ ```
703+
704+ <br >
705+
682706## Props
683707
684708| Name | Description | Type | Default |
@@ -689,12 +713,12 @@ export default {
689713
690714> ⚠ kebab-case is required for tag & prop name when using from CDN
691715
692- ### Binding value difference between ` svelte-jsoneditor ` and ` json-editor-vue `
716+ ### Binding value difference between ' svelte-jsoneditor' and ' json-editor-vue'
693717
694- - ` svelte-jsoneditor ` : An object contains a stringified JSON or a parsed JSON, will do ` JSON.parse ` when passing as a stringified JSON.
695- - ` json-editor-vue ` : JSON itself. What users see is what users get.
718+ - ' svelte-jsoneditor' : An object contains a stringified JSON or a parsed JSON, will do ` JSON.parse ` when passing as a stringified JSON.
719+ - ' json-editor-vue' : JSON itself. What users see is what users get.
696720
697- If you prefer the behavior of ` svelte-jsoneditor ` :
721+ If you prefer the behavior of ' svelte-jsoneditor' :
698722
699723``` html
700724<JsonEditorVue
@@ -708,7 +732,7 @@ If you prefer the behavior of `svelte-jsoneditor`:
708732
709733### Boolean properties
710734
711- Including the boolean properties of ` svelte-jsoneditor ` like ` readOnly ` with no value will imply ` true ` :
735+ Including the boolean properties of ' svelte-jsoneditor' like ` readOnly ` with no value will imply ` true ` :
712736
713737- ✔️ ` <JsonEditorVue readOnly /> `
714738
0 commit comments