Skip to content

Instantly share code, notes, and snippets.

@SarahElson
Created July 7, 2022 14:49
Show Gist options
  • Save SarahElson/d7ca11a1e0b724d7847a8173bdcf1bbf to your computer and use it in GitHub Desktop.
Save SarahElson/d7ca11a1e0b724d7847a8173bdcf1bbf to your computer and use it in GitHub Desktop.
Getting Started With Nuxt Testing [A Beginner’s Guide]
<template>
<li>
<nuxt-link :to="link" class="block hover:bg-gray-50">
<div class="px-4 py-4 sm:px-6">
<div class="flex items-center justify-between">
<p class="text-md font-medium text-blue-500 truncate">
{{ title }}
</p>
<div class="ml-2 flex-shrink-0 flex">
<p class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
{{ salary }}
</p>
</div>
</div>
</div>
</nuxt-link>
</li>
</template>
<script>
export default {
props:
{
Designationtitle: {
type: String,
default: ''
},
salarycompensation: {
type: String,
default: ''
},
hyperlink: {
type: String,
default: ''
}
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment