Comments (10)
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.
I didn't take the ESM test, but the package offers ESM Yes!
from vue3-json-editor.
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.
okay thank you to let me know ! :D
from vue3-json-editor.
will there be an update for this?
from vue3-json-editor.
@swana1337 yes, there is already an issue, this week I will make a release and let you know here.
from vue3-json-editor.
thanks a lot :)
from vue3-json-editor.
hello @swana1337, the fix is now available, version 1.1.1
from vue3-json-editor.
i tried it, sadly nothing is working anymore now at my end. but thanks to let me know :)
from vue3-json-editor.
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)
- Cannot read property 'getMode' of null HOT 1
- 我在使用的时候报这样一个错误:[Vue warn]: Failed to resolve component: vue-json-editor HOT 2
- I set it in Chinese but it still seems to be in English; HOT 2
- Multiple json editors in same page are rendered in the same wrapper div HOT 8
- n.editor is null HOT 2
- Update to recent version HOT 1
- Got Cannot read properties of undefined error HOT 8
- Missing a double quote in README.md HOT 2
- Invalid or unexpected token HOT 1
- Quasar Framework integration issue HOT 4
- Vite + Vue 3 got warning in mode code HOT 1
- v-model should be two way binding HOT 1
- can't input chinese HOT 1
- Could not load worker TypeError: Cannot read properties of undefined (reading 'Blob') HOT 2
- Cant not display in vue 3.3
- emit('provide-editor', state.editor) never triggers
- JSON validation missing in Editor
- Error when using HOT 3
- can i use it with v-for? HOT 4
- when I use vue3-json-editor I got a error TypeError: Cannot read property 'getMode' of null HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue3-json-editor.