Последняя версия с сервера прошлого разработчика
This commit is contained in:
22
resources/js/Shared/Misc/ViewCount.vue
Executable file
22
resources/js/Shared/Misc/ViewCount.vue
Executable file
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<div class="count-views">
|
||||
<div v-show="count" class="flex items-center text-gray-light">
|
||||
<svg class="w-5 h-5 flex-shrink-0">
|
||||
<use xlink:href="#eye"></use>
|
||||
</svg>
|
||||
<span class="ml-2 text-sm">{{ count }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
components: {},
|
||||
props: {
|
||||
count: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user