Giter Club home page Giter Club logo

Comments (10)

swana1337 avatar swana1337 commented on June 10, 2024 1

i found a way to use it with vite. i needed to import like this

import { Vue3JsonEditor } from 'vue3-json-editor/dist/vue3-json-editor.esm'

but it cant show the icons from jsoneditor-icons.svg. its always error 404

from vue3-json-editor.

joaomede avatar joaomede commented on June 10, 2024

I didn't take the ESM test, but the package offers ESM Yes!

from vue3-json-editor.

joaomede avatar joaomede commented on June 10, 2024

yes, there is a problem with svg, this is a point that needs to be fixed, it happened when I converted the original project to vue 3x version

from vue3-json-editor.

swana1337 avatar swana1337 commented on June 10, 2024

okay thank you to let me know ! :D

from vue3-json-editor.

swana1337 avatar swana1337 commented on June 10, 2024

will there be an update for this?

from vue3-json-editor.

joaomede avatar joaomede commented on June 10, 2024

@swana1337 yes, there is already an issue, this week I will make a release and let you know here.

from vue3-json-editor.

swana1337 avatar swana1337 commented on June 10, 2024

thanks a lot :)

from vue3-json-editor.

joaomede avatar joaomede commented on June 10, 2024

hello @swana1337, the fix is ​​now available, version 1.1.1

from vue3-json-editor.

swana1337 avatar swana1337 commented on June 10, 2024

i tried it, sadly nothing is working anymore now at my end. but thanks to let me know :)

from vue3-json-editor.

joaomede avatar joaomede commented on June 10, 2024

hello @swana1337 I made a new fix, version 1.1.2.

changelog:

  • Fix ESM Module
  • Added Demo vitejs project
  • Fixed package.json with path to ESM module.

please be sure to see the vite example before implementing it in your project.

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.