Vue3 & Vuetify Basic Layout Issue

I am trying out Vuetify and seem to be having some issues around the layout system. I am following the Application layout docs:
https://vuetifyjs.com/en/features/application-layout/

I want a simple sidebar, top bar and the router-view content in the centre to take the full width of the screen (minus the sidebar) and small padding of 32px. Currently the content seems to be shrunk / force down to a small size and off centre.

What is the correct way using the grid system to specify I want the v-main / v-container and content to take the whole width (12 columns) of the available space? The only thing that seems to work is forcing width values on elements which defeats the purpose of the grid layout system so obviously I am doing something wrong.

Could some please point me in the right direction?

App

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code><template>
<v-layout class="rounded rounded-md">
<!-- App Bar -->
<v-app-bar app color="primary" dark>
<v-app-bar-title>Dashboard</v-app-bar-title>
<v-spacer></v-spacer>
<v-btn icon>
<v-icon>mdi-account-circle</v-icon>
</v-btn>
</v-app-bar>
<!-- Navigation Drawer -->
<v-navigation-drawer app permanent color="primary" dark>
<v-list dense>
<v-list-item-group>
<v-list-item :to="{ name: 'dashboard' }" link>
<v-list-item-icon>
<v-icon>mdi-home</v-icon>
</v-list-item-icon>
<v-list-item-title>Home</v-list-item-title>
</v-list-item>
</v-list-item-group>
</v-list>
</v-navigation-drawer>
<!-- Main Content -->
<v-main app>
<v-container>
<router-view></router-view>
</v-container>
</v-main>
</v-layout>
</template>
<script setup lang="ts"></script>
</code>
<code><template> <v-layout class="rounded rounded-md"> <!-- App Bar --> <v-app-bar app color="primary" dark> <v-app-bar-title>Dashboard</v-app-bar-title> <v-spacer></v-spacer> <v-btn icon> <v-icon>mdi-account-circle</v-icon> </v-btn> </v-app-bar> <!-- Navigation Drawer --> <v-navigation-drawer app permanent color="primary" dark> <v-list dense> <v-list-item-group> <v-list-item :to="{ name: 'dashboard' }" link> <v-list-item-icon> <v-icon>mdi-home</v-icon> </v-list-item-icon> <v-list-item-title>Home</v-list-item-title> </v-list-item> </v-list-item-group> </v-list> </v-navigation-drawer> <!-- Main Content --> <v-main app> <v-container> <router-view></router-view> </v-container> </v-main> </v-layout> </template> <script setup lang="ts"></script> </code>
<template>
  <v-layout class="rounded rounded-md">
    <!-- App Bar -->
    <v-app-bar app color="primary" dark>
      <v-app-bar-title>Dashboard</v-app-bar-title>
      <v-spacer></v-spacer>
      <v-btn icon>
        <v-icon>mdi-account-circle</v-icon>
      </v-btn>
    </v-app-bar> 

    <!-- Navigation Drawer -->
    <v-navigation-drawer app permanent color="primary" dark>
      <v-list dense>
        <v-list-item-group>
          <v-list-item :to="{ name: 'dashboard' }" link>
            <v-list-item-icon>
              <v-icon>mdi-home</v-icon>
            </v-list-item-icon>
            <v-list-item-title>Home</v-list-item-title>
          </v-list-item>
        </v-list-item-group>
      </v-list>
    </v-navigation-drawer>

    <!-- Main Content -->
    <v-main app>
      <v-container>
        <router-view></router-view>
      </v-container>
    </v-main>
  </v-layout>
</template>

<script setup lang="ts"></script>

Dashboard

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code><template>
<v-card cols="12" md="12">
<v-card-text>
<v-tabs v-model="tab" bg-color="primary">
<v-tab value="one">One</v-tab>
</v-tabs>
<v-card-text class="pa-0">
<v-tabs-window v-model="tab">
<v-tabs-window-item value="one">
<v-list>
<v-table>
<thead>
<tr>
<th v-for="header in equipmentColumnHeaders" :key="header" class="text-left">{{ header }}</th>
</tr>
</thead>
<tbody>
<tr v-for="request in equipmentRequests" :key="request.ID">
<td>{{ request.ID }}</td>
<td>{{ request.requestedItem }}</td>
<td>{{ request.status }}</td>
<td>{{ request.requestDate }}</td>
</tr>
</tbody>
</v-table>
</v-list>
</v-tabs-window-item>
</v-tabs-window>
</v-card-text>
</v-card-text>
</v-card>
</template>
<script setup lang="ts">
import { ref, reactive } from 'vue'
const tab = ref('one')
const equipmentColumnHeaders = ['ID', 'Requested Item', 'Status', 'Request Date']
const equipmentRequests = reactive([
{ ID: 1, requestedItem: 'Laptop', status: 'Pending', requestDate: '2024-09-01' },
{ ID: 2, requestedItem: 'Projector', status: 'Approved', requestDate: '2024-08-15' },
{ ID: 3, requestedItem: 'Whiteboard', status: 'In Progress', requestDate: '2024-08-20' }
])
</script>
</code>
<code><template> <v-card cols="12" md="12"> <v-card-text> <v-tabs v-model="tab" bg-color="primary"> <v-tab value="one">One</v-tab> </v-tabs> <v-card-text class="pa-0"> <v-tabs-window v-model="tab"> <v-tabs-window-item value="one"> <v-list> <v-table> <thead> <tr> <th v-for="header in equipmentColumnHeaders" :key="header" class="text-left">{{ header }}</th> </tr> </thead> <tbody> <tr v-for="request in equipmentRequests" :key="request.ID"> <td>{{ request.ID }}</td> <td>{{ request.requestedItem }}</td> <td>{{ request.status }}</td> <td>{{ request.requestDate }}</td> </tr> </tbody> </v-table> </v-list> </v-tabs-window-item> </v-tabs-window> </v-card-text> </v-card-text> </v-card> </template> <script setup lang="ts"> import { ref, reactive } from 'vue' const tab = ref('one') const equipmentColumnHeaders = ['ID', 'Requested Item', 'Status', 'Request Date'] const equipmentRequests = reactive([ { ID: 1, requestedItem: 'Laptop', status: 'Pending', requestDate: '2024-09-01' }, { ID: 2, requestedItem: 'Projector', status: 'Approved', requestDate: '2024-08-15' }, { ID: 3, requestedItem: 'Whiteboard', status: 'In Progress', requestDate: '2024-08-20' } ]) </script> </code>
<template>
  <v-card cols="12" md="12">
    <v-card-text>
      <v-tabs v-model="tab" bg-color="primary">
        <v-tab value="one">One</v-tab>
      </v-tabs>

      <v-card-text class="pa-0">
        <v-tabs-window v-model="tab">
          <v-tabs-window-item value="one">
            <v-list>
              <v-table>
            <thead>
              <tr>
                <th v-for="header in equipmentColumnHeaders" :key="header" class="text-left">{{ header }}</th>
              </tr>
            </thead>
            <tbody>
              <tr v-for="request in equipmentRequests" :key="request.ID">
                <td>{{ request.ID }}</td>
                <td>{{ request.requestedItem }}</td>
                <td>{{ request.status }}</td>
                <td>{{ request.requestDate }}</td>
              </tr>
            </tbody>
          </v-table>
            </v-list>
          </v-tabs-window-item>
        </v-tabs-window>
      </v-card-text>
    </v-card-text>
  </v-card>
</template>

<script setup lang="ts">
import { ref, reactive } from 'vue'
const tab = ref('one')
const equipmentColumnHeaders = ['ID', 'Requested Item', 'Status', 'Request Date']
const equipmentRequests = reactive([
  { ID: 1, requestedItem: 'Laptop', status: 'Pending', requestDate: '2024-09-01' },
  { ID: 2, requestedItem: 'Projector', status: 'Approved', requestDate: '2024-08-15' },
  { ID: 3, requestedItem: 'Whiteboard', status: 'In Progress', requestDate: '2024-08-20' }
])
</script>

2

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật