You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-3Lines changed: 24 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,8 @@ English | [简体中文](./docs/README.zh-CN.md)
30
30
31
31
- Support Vue 2.6 / 2.7 / 3
32
32
- Support SSR (Nuxt 2 / 3)
33
+
- Support microfrontends ([wujie](https://github.com/Tencent/wujie), [qiankun](https://github.com/umijs/qiankun), [single-spa](https://github.com/single-spa/single-spa) ...)
33
34
- Support Vite, Vue CLI 3 / 4 / 5, CDN ...
34
-
- Support microfrontends (like [wujie](https://github.com/Tencent/wujie))
35
35
- Edit mode two-way binding
36
36
- Local registration + local configuration, or global registration + global configuration (Powered by [vue-global-config](https://github.com/cloydlau/vue-global-config))
37
37
@@ -293,7 +293,7 @@ Vue.use(VCA)
293
293
294
294
export default {
295
295
components: { JsonEditorVue },
296
-
date() {
296
+
data() {
297
297
return {
298
298
value: undefined,
299
299
}
@@ -708,6 +708,27 @@ module.exports = {
708
708
}
709
709
```
710
710
711
+
⚠ Only for version ≤ 4.5.14:
712
+
713
+
```js
714
+
// vue.config.js
715
+
716
+
module.exports= {
717
+
configureWebpack: {
718
+
module: {
719
+
rules: [
720
+
// Getting webpack to recognize the `.mjs` file
721
+
{
722
+
test:/\.mjs$/,
723
+
include:/node_modules/,
724
+
type:'javascript/auto',
725
+
},
726
+
],
727
+
},
728
+
},
729
+
}
730
+
```
731
+
711
732
<br>
712
733
713
734
### Vue CLI 3 (webpack 4)
@@ -760,7 +781,7 @@ module.exports = {
760
781
### Binding value difference between svelte-jsoneditor and json-editor-vue
761
782
762
783
- svelte-jsoneditor: An object contains a stringified JSON or a parsed JSON, will do `JSON.parse` when passing as a stringified JSON.
763
-
- json-editor-vue: JSON itself. What users see is what users get.
784
+
- json-editor-vue: JSON itself. What user see is what user get.
0 commit comments