Cristiano Magro
2025-01-07 ada7d27da93a1a59a4b2c54abeaa1e072a5793d5
10 - course project/xno-prj-cmp-01-starting-setup/src/components/learning-resource/LearningResource.vue
@@ -3,7 +3,9 @@
    <base-card>
      <header>
        <h3>{{ title }}</h3>
        <base-button mode="flat">Delete</base-button>
        <base-button mode="flat" @click="deleteResource(id)"
          >Delete</base-button
        >
      </header>
      <p>{{ description }}</p>
      <nav>
@@ -15,7 +17,8 @@
<script>
export default {
  props: ['title', 'description', 'link'],
  props: ['id', 'title', 'description', 'link'],
  inject: ['deleteResource'],
};
</script>