vuetify.js

Vuetifyjs error Unknown custom element: did you register the component correctly

给你一囗甜甜゛ 提交于 2021-01-27 05:25:46
问题 Am using vuetify to build a template but am getting an error unknown custom element dashboard did you register the component correctly? This is my code: In the main.js import Vue from 'vue' import App from './App.vue' import Vuetify from 'vuetify' import VueRouter from 'vue-router'; import {routes} from './routes'; Vue.use(VueRouter); Vue.use(Vuetify) new Vue({ el: '#app', render: h => h(App) }) In my App.vue <template> <dashboard></dashboard> </template> <script> import Dashbaord from '.

Vuetify Offline Docs

邮差的信 提交于 2021-01-21 12:24:16
问题 I have started using Vuetify to add ui-components and use pre-defined layouts. The problem is that I have to look into online-docs every now and then, and requires me to be connected to internet perpetually. Is there a way to get offline docs for Vuetify? Like an html built with doxygen/javadocs, or a CHM? PDF? LaTEX? Anything really helps. 回答1: Update git clone https://github.com/vuetifyjs/vuetifyjs.com.git has become a private project. The docs are now in the packages/docs/ directory.

Center content vertically on Vuetify

独自空忆成欢 提交于 2021-01-20 14:43:45
问题 Is there a way to center content vertically in Vuetify? With the text-xs-center helper class, the content gets centered horizontally only: <v-container grid-list-md text-xs-center> <v-layout row wrap> <v-flex xs12> Hello </v-flex> </v-layout> From the API, I tested some other helper classes such as align-content-center but did not achieve the result. 回答1: Update for new vuetify version In v.2.x.x , we can use align and justify. We have below options for setup the horizontal and vertical

How can I set the images like the link image below in vuetify?

こ雲淡風輕ζ 提交于 2021-01-20 09:32:05
问题 I want to quantify my v-img like the one you see in the image below. Is there a way to make something like the image you see with vuetify's v-img . <div class="row"> <v-img style="margin:2px" max-height="301" max-width="380" :key="index" v-for="(image, index) in post.userPostImg" :src="$store.state.baseURL + '/news/' + image"> </v-img> </div> 回答1: Create two rows with no-gutters prop, the first one contains one image and the other one contains three columns that conain the 3 images : <v-row

Change :value in vc-date-picker > v-text-field using v-for

左心房为你撑大大i 提交于 2021-01-05 07:05:25
问题 I want :value to change from inputValue.start to inputValue.end automatically. So when I click on the end date it should be updated in the second text field. Likewise, if I select a date range in the second text field, the first text field should also be updated again. At the end of this question you can see the result of both cases. P.S.: I use the V-Calendar plugin for Vue.js. The vc-date-picker element is from this plugin. HTML: <v-col v-for="(dateF, date_id) in datesF" :key="date_id + 'A'

How can I repeatedly access a Vue prop without tanking performance?

♀尐吖头ヾ 提交于 2021-01-05 05:46:40
问题 I'm working on a Vue/Vuetify app that has a performance problem. I've created a custom component that wraps around a standard Vuetify v-data-table component. It works fine for small amounts of data, but giving it moderate to large amounts of data causes Firefox to hang and Chrome to crash. Here's a slightly simplified version of my code: <script> import ... export default { props: { theValues: Array, // other props }, computed: { theKeys: function() { return this.schema.map(col => col.col); }

How can I repeatedly access a Vue prop without tanking performance?

巧了我就是萌 提交于 2021-01-05 05:45:29
问题 I'm working on a Vue/Vuetify app that has a performance problem. I've created a custom component that wraps around a standard Vuetify v-data-table component. It works fine for small amounts of data, but giving it moderate to large amounts of data causes Firefox to hang and Chrome to crash. Here's a slightly simplified version of my code: <script> import ... export default { props: { theValues: Array, // other props }, computed: { theKeys: function() { return this.schema.map(col => col.col); }

Problem with placing v-app-bar content in container?

丶灬走出姿态 提交于 2021-01-03 07:10:33
问题 I need to place content inside v-app-bar inside container, so It goes in one line with other page content. All content inside app should have max width for each breakpoint instead of full page width. Placing all content iside container don't solve problem. I marked with red box on screenshot where content should be. 回答1: Hey I am having the same issue. I came up with a rough work around, my question is here incase you found an answer as well. Make vuetify app bar items align with <v-container

Problem with placing v-app-bar content in container?

跟風遠走 提交于 2021-01-03 07:09:52
问题 I need to place content inside v-app-bar inside container, so It goes in one line with other page content. All content inside app should have max width for each breakpoint instead of full page width. Placing all content iside container don't solve problem. I marked with red box on screenshot where content should be. 回答1: Hey I am having the same issue. I came up with a rough work around, my question is here incase you found an answer as well. Make vuetify app bar items align with <v-container

Problem with placing v-app-bar content in container?

北慕城南 提交于 2021-01-03 07:09:27
问题 I need to place content inside v-app-bar inside container, so It goes in one line with other page content. All content inside app should have max width for each breakpoint instead of full page width. Placing all content iside container don't solve problem. I marked with red box on screenshot where content should be. 回答1: Hey I am having the same issue. I came up with a rough work around, my question is here incase you found an answer as well. Make vuetify app bar items align with <v-container