vuetify.js

Vuetify CSS comes after my own CSS with Nuxt 2.0

ぐ巨炮叔叔 提交于 2019-12-08 00:57:45
问题 In my test project https://github.com/alechance/nuxt-vuetify-lodash I'm trying to write my own CSS. However Vuetify CSS always comes after my CSS in my <head> , any idea how I can order my styles so my CSS comes after? I do not want to end up writing important! 来源: https://stackoverflow.com/questions/53087096/vuetify-css-comes-after-my-own-css-with-nuxt-2-0

Vuetify treeview - select parent without selecting children

只谈情不闲聊 提交于 2019-12-07 20:45:10
问题 When using the treeview component from Vuetify, I am attempting to be able to select a parent without having it also select all of the descendants (children). I've tried various combinations of selectable, activatable, etc... but can't seem to find the appropriate combination. Anyone have any pointers for achieving this desired result? 回答1: I had the same problem, just add the selection-type="independent" attribute to your treeview component UPD: Example on CodePen https://codepen.io/anon/pen

Fresh project fail to compile after installing vuetify in vue.js

感情迁移 提交于 2019-12-07 19:47:46
问题 i have a problem in vue.js, i have created a new project using webstorm and it runs with no problem at all and i can see vue logo. in next step i want to install vuetify but i get errors as below list: Failed to compile. ./src/plugins/vuetify.js Module not found: Error: Can't resolve 'vuetify/lib' in 'PATH TO MY PROJECT' TypeError: Cannot read property 'match' of undefined ERROR TypeError: Cannot read property 'match' of undefined TypeError: Cannot read property 'match' of undefined at

Internationalization with Vuetify

杀马特。学长 韩版系。学妹 提交于 2019-12-07 10:34:47
问题 I'm trying to make an app with multiple languages. I did what the documentation says but it does not work. this my code. window.Vue = require('vue'); import Vuetify from './Vuetify/vuetify'; import en from './Vuetify/Lang/en/en.ts'; import es from './Vuetify/Lang/es/es.ts'; Vue.use(Vuetify, { lang: { locales: { es, en, }, current: 'es' } }) const app = new Vue({ el: '#app', components: { "vue-landing": require('./components/ExampleComponent.vue'), }, created() { this.$vuetify.lang.current =

styling individual rows in a Vuetify data table

老子叫甜甜 提交于 2019-12-07 08:25:23
问题 Can I apply different styling for a specific row in a data table? This is my code: <v-data-table :headers="headers" :items="items" v-model="selected" :search="search" :no-data-text="mensagem" select-all :rows-per-page-text="linhasPorPagina"> <template slot="items" slot-scope="props"> <td> <v-checkbox primary hide-details v-model="props.selected" ></v-checkbox> </td> <td class="text-xs-left">{{ props.item.id }}</td> <td class="text-xs-left">{{ props.item.apresentante }}</td> </v-data-table>

Vuetify breakpoints not working in Nuxt.js

a 夏天 提交于 2019-12-07 08:12:12
问题 I'm working on a project using Nuxt.js as SSR engine and Vuetify as styling framework. In one of my templates I have such code: <v-layout row wrap align-center :class="{ 'mb-4': $vuetify.breakpoint.smAndDown }">...</v-layout> As you can see, I want to apply mb-4 class only if I am on small screens and smaller ones. But when I load this on desktop large screen and inspect element, this class is attached even though screen resolution does not match logic for applying this class. However,

Fontawesome 5 with VuetifyJs 1.0.0

ε祈祈猫儿з 提交于 2019-12-07 04:13:56
问题 I want to use Fontawesome 5 Icons with VuetifyJs. Is that possible? which npm package for fontawesome should I use? because no one worked for me. It is really confusing for me as an inexperienced VuetifyJs developer to use it, with the lack of any clear steps in the documentation of VuetifyJs. 回答1: From docs: Font Awesome is also supported. Simply use the fa- prefixed icon name. Please note that you still need to include the Font Awesome icons in your project . Release notes: Things we added

Vuetify - Layout problem for v-data-table

微笑、不失礼 提交于 2019-12-06 16:27:59
I have a Vuetify v-data-table on a v-card and I cannot get the layout right. So it's a configurable 2x2 layout (and it's supposed to use pagination, no scrolling). <template> <v-layout column> <v-layout row> <DashboardItem :item="itemTypes[0]" class="xs6" /> <DashboardItem :item="itemTypes[1]" class="xs6" /> </v-layout> <v-layout row> <DashboardItem :item="itemTypes[2]" class="xs6" /> <DashboardItem :item="itemTypes[3]" class="xs6" /> </v-layout> </v-layout> </template> The user can configure items into a 2x2 layout. This is a 2x2 layout, so it's expected to be 4 items in total, with all 4

Vuetify: fixing component to top of v-layout?

ぐ巨炮叔叔 提交于 2019-12-06 14:59:58
I'm trying to build a webpage with vuetify and nuxt. I'm trying to set the max-width property of the expansion panel ui component ( https://vuetifyjs.com/en/components/expansion-panels ). I have: <template> <v-app id="inspire"> <v-layout align-center justify-center row fill-height> <!-- <v-layout align-center > --> <v-expansion-panel style="maxWidth: 1200px" > <v-expansion-panel-content v-for="(item,i) in items" :key="i"> <div slot="header">{{item.header}}</div> <v-card > <v-card-text>{{item.text}}</v-card-text> </v-card> </v-expansion-panel-content> </v-expansion-panel> </v-layout> </v-app> <

Vuetify treeview - select parent without selecting children

随声附和 提交于 2019-12-06 12:20:29
When using the treeview component from Vuetify, I am attempting to be able to select a parent without having it also select all of the descendants (children). I've tried various combinations of selectable, activatable, etc... but can't seem to find the appropriate combination. Anyone have any pointers for achieving this desired result? I had the same problem, just add the selection-type="independent" attribute to your treeview component UPD: Example on CodePen https://codepen.io/anon/pen/LwOJRE Documentation https://vuetifyjs.com/en/components/treeview#selection-type Simone Nunzi I've put