Last active
March 9, 2020 17:11
-
-
Save abishekrsrikaanth/9f0455f4b541871dd10c35ea4afa499e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div> | |
| <h1 class="text-90 font-normal text-2xl mb-6">{{groupTitle}}</h1> | |
| <div class="card"> | |
| <table class="w-full table mb-6 py-3 px-6 "> | |
| <thead> | |
| <tr> | |
| <th v-for="column in data.columns">{{column}}</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr v-for="row in data.data"> | |
| <td v-for="field in row" class="text-center"> | |
| {{field}} | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment