The Vue2 vanilla dev app currently does not work because the source file App.vue is copied from the the vue3 vanilla dev app. It has relative imports that no longer work in the vue2 vanilla dev app.
Running npm run serve in the vue2 vanilla package leads to an error like this:
ERROR Failed to compile with 1 error 3:49:54 PM
This relative module was not found:
* ../../src in /home/lucas/Git/jsonforms/node_modules/cache-loader/dist/cjs.js??ref--14-0!/home/lucas/Git/jsonforms/node_modules/babel-loader/lib!/home/lucas/Git/jsonforms/node_modules/ts-loader??ref--14-2!/home/lucas/Git/jsonforms/node_modules/cache-loader/dist/cjs.js??ref--1-0!/home/lucas/Git/jsonforms/node_modules/vue-loader/lib??vue-loader-options!./dev/components/App.vue?vue&type=script&lang=ts&
*
Expected behavior
The vue2 vanilla dev app works when executing npm run serve inside the package.
Describe the bug
The Vue2 vanilla dev app currently does not work because the source file App.vue is copied from the the vue3 vanilla dev app. It has relative imports that no longer work in the vue2 vanilla dev app.
Running
npm run serve
in the vue2 vanilla package leads to an error like this:Expected behavior
The vue2 vanilla dev app works when executing
npm run serve
inside the package.Screenshots
Which Version of JSON Forms are you using?
3.1.0-alpha.0
Framework
Vue 2
RendererSet
Vanilla