Skip to content

Instantly share code, notes, and snippets.

View larizzatg's full-sized avatar
🎯
Focusing

Larizza Tueros larizzatg

🎯
Focusing
View GitHub Profile
@larizzatg
larizzatg / post-fetch-useAsync.vue
Last active July 21, 2021 16:34
Nuxt: Getting data, composition api with useAsync
<template>
<div>
<h1>Post</h1>
<div v-if="post" id="first-post">
<h3 class="text-lg">{{ post.title }}</h3>
<p class="text-base">{{ post.body }}</p>
</div>
</div>
</template>
@larizzatg
larizzatg / post-fetch-hook-useAsync.vue
Created July 21, 2021 16:34
Nuxt: Getting data, useAsync in a hook
TEST PAGE
-------------
<template>
<div>
<h1>Post</h1>
<div v-if="post" id="first-post">
<h3 class="text-lg">{{ post.title }}</h3>
<p class="text-base">{{ post.body }}</p>
</div>
</div>
@larizzatg
larizzatg / History|-4ba783db|2YrY.json
Created April 7, 2022 22:40
Visual Studio Code Settings Sync Gist
{
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.minimap.enabled": false,
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
},
"editor.fontFamily": "RedHatMono, Menlo, Monaco, 'Courier New', monospace",
"workbench.colorTheme": "Moonlight II",
"editor.fontSize": 14