Issue fix

Signed-off-by: Al Asad Nur Riyad <asadnurriyad@gmail.com>
This commit is contained in:
Al Asad Nur Riyad
2023-05-06 23:00:18 +06:00
parent e369a70bf3
commit 12226bba74
3 changed files with 5 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ withDefaults(defineProps<Props>(), {
</script> </script>
<template> <template>
<article class="group border m-2 rounded-2xl overflow-hidden shadow-md text-zinc-700"> <article class="group border m-2 rounded-2xl overflow-hidden shadow-sm text-zinc-700">
<NuxtLink :to="path" class="grid grid-cols-1 sm:grid-cols-10 gap-1"> <NuxtLink :to="path" class="grid grid-cols-1 sm:grid-cols-10 gap-1">
<div class="sm:col-span-3"> <div class="sm:col-span-3">
<NuxtImg <NuxtImg

View File

@@ -25,7 +25,7 @@ withDefaults(defineProps<Props>(), {
</script> </script>
<template> <template>
<article class="group border m-2 overflow-hidden rounded-2xl shadow-md text-zinc-700"> <article class="group border m-2 overflow-hidden rounded-2xl shadow-sm text-zinc-700">
<NuxtLink :to="path"> <NuxtLink :to="path">
<NuxtImg <NuxtImg
class="lg:h-48 md:h-36 w-full object-cover object-center rounded-t-2xl shadow-lg group-hover:scale-[1.02] transition-all duration-500" class="lg:h-48 md:h-36 w-full object-cover object-center rounded-t-2xl shadow-lg group-hover:scale-[1.02] transition-all duration-500"

View File

@@ -17,7 +17,8 @@ Nuxt.js is a popular open-source framework for building Vue.js applications. Wit
The first step is to install the necessary dependencies for Nuxt Content v2. To do this, run the following command: The first step is to install the necessary dependencies for Nuxt Content v2. To do this, run the following command:
```JS
```js
npm install @nuxt/content@next npm install @nuxt/content@next
``` ```
@@ -26,7 +27,7 @@ npm install @nuxt/content@next
Once the dependencies are installed, you need to configure Nuxt Content v2 in your Nuxt 3 project. To do this, create a new file named nuxt.config.js in the root directory of your project and add the following code: Once the dependencies are installed, you need to configure Nuxt Content v2 in your Nuxt 3 project. To do this, create a new file named nuxt.config.js in the root directory of your project and add the following code:
```JS ```js
export default { export default {
// Enable Nuxt Content module // Enable Nuxt Content module
modules: [ modules: [