Skip to content

Instantly share code, notes, and snippets.


Alex Kasongo alexkasongo

View GitHub Profile
View gist:966c7556ce8ac505ea93d126192304d5
class="rounded border bg-gray-900 ml-2 flex"
<img :src="character.image" :alt="" class="p-2 rounded" />
<div class="p-2">
<span class="text-white">{{ character.status }}</span>
<h1 class="text-white text-2xl font-semibold">{{ }}</h1>
<h1 class="text-white">{{ character.gender }}</h1>
View gist:572e3a48bfe5aa4fe84128efd84c4971
<div class="container">
<div class="rounded border m-2">
<h1 class="p-2 text-4xl font-semi-bold text-gray-800">
Nuxt.js Querying a GraphQL API
<div class="flex p-2" v-if="!$apollo.queries.characters.loading">
<ul class="w-100 px-2 rounded border text-gray-600">
v-for="character in characters.results"