Skip to content
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

[Bug Report][3.0.0-alpha.12] v-text-field cause error in Vite #14665

Closed
yaquawa opened this issue Jan 28, 2022 · 2 comments
Closed

[Bug Report][3.0.0-alpha.12] v-text-field cause error in Vite #14665

yaquawa opened this issue Jan 28, 2022 · 2 comments
Labels
duplicate The issue has already been reported

Comments

@yaquawa
Copy link

yaquawa commented Jan 28, 2022

image

Environment

Vuetify Version: 3.0.0-alpha.12
Vue Version: 3.2.29
Browsers: Chrome 97.0.4692.99
OS: Mac OS 10.15.7

Steps to reproduce

  1. Install vuetify with Vite
  2. use v-text-field
  3. check the console of browser

Expected Behavior

No error shown.

Actual Behavior

Error shown.

Reproduction Link

https://github.com/yaquawa/vuetify-vite

@mathe42
Copy link

mathe42 commented Jan 30, 2022

Not shure if it the same problem I got (so my fix might fix this too):

Add import * as directives from "vuetify/directives"; to src/plugins/vuetify and change your createVuetify call to createVuetify({directives}).

As mentioned I didn't test your repo with this fix!

[EDIT]: I use @vuetify/nightly so my err-message was a little bit different.

@KaelWD
Copy link
Member

KaelWD commented Jan 31, 2022

Duplicate of #14578

@KaelWD KaelWD marked this as a duplicate of #14578 Jan 31, 2022
@KaelWD KaelWD closed this as completed Jan 31, 2022
@KaelWD KaelWD added duplicate The issue has already been reported and removed S: triage labels Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The issue has already been reported
Projects
None yet
Development

No branches or pull requests

3 participants