Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Shows a simple data table using Vuetify VDataTable component.
<template>
<v-app>
<v-main class="pa-6 text-center">
<v-data-table :headers="headers" :items="items" class="elevation-1"></v-data-table>
</v-main>
</v-app>
</template>
<script>
import { ref } from 'vue';
export default {
setup() {
const headers = ref([{ text: 'Name', value: 'name' }, { text: 'Age', value: 'age' }]);
const items = ref([{ name: 'Alice', age: 25 }, { name: 'Bob', age: 30 }, { name: 'Charlie', age: 22 }]);
return { headers, items };
}
};
</script>Vuetify is a Vue.js framework that provides a comprehensive collection of UI components following the Material Design specification, enabling developers to build visually consistent, responsive, and feature-rich web applications.
Origin & Creator
Created by John Leider in 2016 to provide a complete Material Design framework for Vue.js applications.
Industrial Note
Vuetify is widely used in Vue.js projects that require a Material Design look and feel, including dashboards, SaaS applications, and enterprise interfaces.