Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit 720efa5

Browse files
committed
fix: update layout names & structure
1 parent 39ddd1d commit 720efa5

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

packages/@vuetify/base/generator/template/src/layouts/app/Index.vue

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<template>
2+
<v-app>
3+
<default-bar />
4+
5+
<default-view />
6+
</v-app>
7+
</template>
8+
9+
<script>
10+
export default {
11+
name: 'DefaultLayout',
12+
13+
components: {
14+
DefaultBar: () => import('./AppBar'),
15+
DefaultView: () => import('./View'),
16+
},
17+
}
18+
</script>

packages/@vuetify/base/generator/template/src/layouts/app/View.vue renamed to packages/@vuetify/base/generator/template/src/layouts/default/View.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88

99
<script>
1010
export default {
11-
name: 'View',
11+
name: 'AppView',
1212
}
1313
</script>

packages/@vuetify/base/generator/template/src/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const router = new Router({
2424
path: '/',
2525
// Layouts allow you to define different
2626
// structures for different view
27-
component: () => import('@/layouts/app/Index.vue'),
27+
component: () => import('@/layouts/default/Index.vue'),
2828
children: [
2929
{
3030
path: '',

0 commit comments

Comments
 (0)