eclipsesource / jsonforms

Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.
http://jsonforms.io
Other
2.16k stars 360 forks source link

Vue2 Vanilla dev app does not work #2075

Closed lucas-koehler closed 8 months ago

lucas-koehler commented 1 year ago

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:

 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.

Screenshots

Which Version of JSON Forms are you using?

3.1.0-alpha.0

Framework

Vue 2

RendererSet

Vanilla

lucas-koehler commented 8 months ago

This is obsolete because Vue2 Vanilla renderers were removed with 3.2.0