1
0

feat: use vue-router 4 for vue3

This commit is contained in:
Dominik Pschenitschni
2021-08-20 15:17:19 +02:00
parent b31da0cefe
commit 72518212da
11 changed files with 97 additions and 74 deletions

View File

@ -53,9 +53,11 @@
/>
<!-- This router view is used to show the task popup while keeping the gantt chart itself -->
<transition name="modal">
<router-view/>
</transition>
<router-view v-slot="{ Component }">
<transition name="modal">
<component :is="Component" />
</transition>
</router-view>
</card>
</div>

View File

@ -212,9 +212,11 @@
</div>
<!-- This router view is used to show the task popup while keeping the kanban board itself -->
<transition name="modal">
<router-view/>
</transition>
<router-view v-slot="{ Component }">
<transition name="modal">
<component :is="Component" />
</transition>
</router-view>
<transition name="modal">
<modal

View File

@ -128,9 +128,11 @@
</card>
<!-- This router view is used to show the task popup while keeping the kanban board itself -->
<transition name="modal">
<router-view/>
</transition>
<router-view v-slot="{ Component }">
<transition name="modal">
<component :is="Component" />
</transition>
</router-view>
</div>
</template>

View File

@ -179,9 +179,11 @@
</card>
<!-- This router view is used to show the task popup while keeping the table view itself -->
<transition name="modal">
<router-view/>
</transition>
<router-view v-slot="{ Component }">
<transition name="modal">
<component :is="Component" />
</transition>
</router-view>
</div>
</template>

View File

@ -32,7 +32,7 @@ export default {
this.identifier = identifier
this.isFileMigrator = isFileMigrator
} catch (e) {
this.$router.push({name: '404'})
this.$router.push({name: 'not-found'})
}
},
}