DigitalConsumer.FixMyGlass/src/App.vue
2022-11-03 09:33:37 -04:00

27 lines
920 B
Vue

<template>
<router-view v-slot="{ Component }">
<transition :duration="{ enter: 200, leave: 200 }" name="route-fade" mode="out-in">
<!-- The above durations should be kept in sync with the global css class "fade-on-route-transition" -->
<component :is="Component" @focusin="handleAnyComponentFocus" />
</transition>
</router-view>
</template>
<script>
import { handleAnyComponentFocus } from "@/helpers/button-question-focus-helper";
export default {
name: "app",
methods: {
handleAnyComponentFocus: handleAnyComponentFocus,
},
};
</script>
<style lang="scss">
@import "./node_modules/bootstrap/scss/bootstrap";
@import "@/styles/common-styles.scss";
@import "@/styles/common-typography-styles.scss";
@import "@/styles/common-error-styles.scss";
@import "@/styles/common-animations.scss";
@import "@/styles/shared-input-button-styles.scss";
</style>