Skip to content

VNumberInput is core component in vuetify > 3.8.0 #2434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
viktor-c opened this issue Apr 5, 2025 · 1 comment · May be fixed by #2435
Open

VNumberInput is core component in vuetify > 3.8.0 #2434

viktor-c opened this issue Apr 5, 2025 · 1 comment · May be fixed by #2435

Comments

@viktor-c
Copy link

viktor-c commented Apr 5, 2025

Describe the bug

When trying to use jsonforms-vue-vuetify with the latest vuetify package (3.8.0) I get an error
Error: Build failed with 1 error: node_modules/@jsonforms/vue-vuetify/lib/jsonforms-vue-vuetify.esm.js:31:29: ERROR: Could not resolve "vuetify/labs/VNumberInput"

This is due to VNumberInput moving from "lab" to "core".

Expected behavior

Building with vite should give no error

Steps to reproduce the issue

Create a new vue project, add vuetify, jsonforms, jsonforms-vue and jsonform-vue-vuetify.
Configure jsonforms to use vue-vuetify renderer
Build the project.

Screenshots

No response

Which Version of JSON Forms are you using?

v3.5.1

Package

Vue Vuetify Renderers

Additional context

No response

@AndyLinxies
Copy link

this helped me out from my vite.config file :

import path from "path";
resolve: {
    alias: {
      "vuetify/labs/VNumberInput": path.resolve(
        __dirname,
        "node_modules/vuetify/lib/components/VNumberInput/index.js",
      ),
    },
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants