VaccinationDetails.vue 631 B

1234567891011121314151617181920212223
  1. <template>
  2. <div v-if="!vaccination">
  3. <p>No vaccination details found.</p>
  4. </div>
  5. <div v-else>
  6. <h2>Vaccination Details</h2>
  7. <!-- NOTE: These values should probably have dates or some kind of
  8. structured data, or lists/arrays of said data.-->
  9. <!-- TODO: Add more details.
  10. See also: https://www.cdc.gov/vaccines/imz-managers/laws/index.html -->
  11. <p>Measles: {{ vaccination.measles }}</p>
  12. <p>Mumps: {{ vaccination.mumps }}</p>
  13. <p>Rubella: {{ vaccination.rubella }}</p>
  14. </div>
  15. </template>
  16. <script>
  17. export default {
  18. name: "VaccinationDetails",
  19. props: ["vaccination"]
  20. };
  21. </script>