florian93 liked a comment+100 XP
1mo ago
Just incase needed
Comment.vue
<template>
<div class="sm:flex">
<div class="mb-4 flex-shrink-0 sm:mb-0 sm:mr-4">
<img :src="comment.user.profile_photo_url" class="h-10 w-10 rounded-full" />
</div>
<div>
<p class="mt-1">{{ comment.body }}</p>
<span class="first-letter:uppercase block pt-1 text-xs text-gray-600">By {{ comment.user.name }} {{ relativeDate(comment.created_at) }}</span>
</div>
</div>
</template>
<script setup>
import {relativeDate} from "@/Utilities/date.js";
defineProps(['comment']);
</script>
florian93 liked a comment+100 XP
1mo ago
php artisan make:resource PostResource
Link to the Pagination: https://tailwindui.com/components/application-ui/navigation/pagination
Another recommended Laravel debugging tool called clockwork : https://github.com/itsgoingd/clockwork
florian93 liked a comment+100 XP
1mo ago
I want to test something specifically in Laravel. Let's say, testUserTest(). I want to test only this. How can I do that instead to running test on everything?
florian93 liked a comment+100 XP
1mo ago
Has anyone checked Firefox? I'm referring to full link:
https://laracasts.com/discuss gives blank screen.
But https://laracasts.com/ works