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> <button>Delete</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>