Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vite + Vue 3 got warning in mode code #23

Open
zulfikar4568 opened this issue Aug 14, 2022 · 1 comment
Open

Vite + Vue 3 got warning in mode code #23

zulfikar4568 opened this issue Aug 14, 2022 · 1 comment

Comments

@zulfikar4568
Copy link

image

Here's my code that I used

<template>
  <Vue3JsonEditor v-model="state" :show-btns="true" @json-change="onJsonChange"/>
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue'
import { Vue3JsonEditor } from 'vue3-json-editor'

export default defineComponent({
  name: 'App',
  components: {
    Vue3JsonEditor
  },
  setup () {
    function onJsonChange (value: any) {
      console.log(value)
    }

    const state = ref<object>({})

    return {
      state,
      onJsonChange
    }
  }
})
</script>
@sOMarkus
Copy link

We face the same Issue with Vite and Vue3 on mode code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants