mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-09 22:45:36 -04:00
chore: Nuxt 4 upgrade (#7426)
This commit is contained in:
31
frontend/app/components/global/AppToolbar.vue
Normal file
31
frontend/app/components/global/AppToolbar.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<v-toolbar
|
||||
color="transparent"
|
||||
flat
|
||||
>
|
||||
<BaseButton
|
||||
color="null"
|
||||
rounded
|
||||
secondary
|
||||
@click="$router.go(-1)"
|
||||
>
|
||||
<template #icon>
|
||||
{{ $globals.icons.arrowLeftBold }}
|
||||
</template>
|
||||
{{ $t('general.back') }}
|
||||
</BaseButton>
|
||||
<slot />
|
||||
</v-toolbar>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps({
|
||||
back: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
</style>
|
||||
Reference in New Issue
Block a user