Skip to content

Vue2 Vanilla dev app does not work #2075

@lucas-koehler

Description

@lucas-koehler

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions