Cristiano Magro
2025-01-05 60df099e6db8a1b3478021205facc9db6642ee7c
slot shortcut
2 files modified
10 ■■■■ changed files
09 - deeper into components/cmp-adv-01-starting-setup/src/components/BadgeList.vue 6 ●●●● patch | view | raw | blame | history
09 - deeper into components/cmp-adv-01-starting-setup/src/components/UserInfo.vue 4 ●●●● patch | view | raw | blame | history
09 - deeper into components/cmp-adv-01-starting-setup/src/components/BadgeList.vue
@@ -1,10 +1,10 @@
<template>
  <section>
    <base-card>
      <!-- <template v-slot:header>
      <template #header>
        <h2>Available Badges</h2>
      </template> -->
      <template v-slot:default>
      </template>
      <template #default>
        <ul>
          <li>
            <base-badge type="admin" caption="ADMIN"></base-badge>
09 - deeper into components/cmp-adv-01-starting-setup/src/components/UserInfo.vue
@@ -1,11 +1,11 @@
<template>
  <section>
    <base-card>
      <template v-slot:header>
      <template #header>
        <h3>{{ fullName }}</h3>
        <base-badge :type="role" :caption="role.toUpperCase()"></base-badge>
      </template>
      <template v-slot:default>
      <template #default>
        <p>{{ infoText }}</p>
      </template>
    </base-card>