Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vuetify text field border missing

I'm trying to implement Veutify's text field

This is what it looks like for me right now: enter image description here

And this is what it looks like when the text field is in focus: enter image description here

These are my imports in main.js

import Vue from 'vue';
import Vuetify from 'vuetify';
Vue.use(Vuetify);

Am I missing an import or something?

like image 551
Pashan Avatar asked Aug 08 '17 23:08

Pashan


1 Answers

I ran in the same issue, you need to wrap your application in a <v-app>.

The reason is that the border's color depends on the theme you're using. If you try to inspect the documentation you will see that the border's rule is something like .application--light .input-group .input-group__details: application--light is indeed a class added by v-app.

like image 102
Mario Lamacchia Avatar answered Oct 31 '22 08:10

Mario Lamacchia