Giter Club home page Giter Club logo

Comments (4)

josejachuf avatar josejachuf commented on June 2, 2024

Hi, in my case I do not even get the error, the component does not appear directly in the component tree

image

<template>
  <q-page class="" padding>
    <p>vue-json-editor</p>
    <q-btn label="Prueba" />
    <Vue3JsonEditor
      v-model="json"
      :show-btns="true"
      :expandedOnStart="true"
      @json-change="onJsonChange"
    />
  </q-page>
</template>

<script>
import { defineComponent, reactive, toRefs } from 'vue'
import { Vue3JsonEditor } from 'vue3-json-editor'

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

      const state = reactive({
        json: {}
      })

      return {
        ...toRefs(state),
        onJsonChange
      }
  }
})
</script>

from vue3-json-editor.

josejachuf avatar josejachuf commented on June 2, 2024

I have an import problem

Failed to resolve component: Vue3JsonEditor

If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.

from vue3-json-editor.

joaomede avatar joaomede commented on June 2, 2024

Hi Guys.
if your project is different, please open different issues so as not to cause confusion.

about your problem with Quasar/Vite; I've never tested for Quasar/Vite, I've tested for VueJS/Vite, if possible, create a sandbox or something like that for me to take a look at.

from vue3-json-editor.

ebeton-ro avatar ebeton-ro commented on June 2, 2024

I will try to do that.
Just to be clear I put an hold on that project but I will create a github/gitlab repo and let you know ASAP.
Sorry I have to many things to do this days.

from vue3-json-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.