Client - register globally some custom components

This commit is contained in:
Sam
2021-10-23 15:29:39 +02:00
parent 8d93024a5f
commit d78470062d
21 changed files with 26 additions and 70 deletions

View File

@ -19,7 +19,6 @@
import { endOfMonth, startOfMonth } from 'date-fns'
import { PropType, defineComponent } from 'vue'
import Card from '@/components/Common/Card.vue'
import StatChart from '@/components/Common/StatsChart/index.vue'
import { ISport } from '@/types/sports'
import { IAuthUserProfile } from '@/types/user'
@ -27,7 +26,6 @@
export default defineComponent({
name: 'UserMonthStats',
components: {
Card,
StatChart,
},
props: {

View File

@ -30,14 +30,12 @@
import { PropType, defineComponent } from 'vue'
import { useI18n } from 'vue-i18n'
import Card from '@/components/Common/Card.vue'
import SportImage from '@/components/Common/Images/SportImage/index.vue'
import { IRecord } from '@/types/workouts'
export default defineComponent({
name: 'RecordsCard',
components: {
Card,
SportImage,
},
props: {