Lesson 10: defer has been renamed to lazy
Lesson 6: In order to get layouts to work, I had to wrap everything in app.vue with a NuxtLayout tag
1<template>2 <NuxtLayout>3 <div>4 <NuxtPage />5 </div>6 </NuxtLayout>7</template>
How do I set base url globally in useFetch ?
Download button not appear!!
Which browser is this?
Awesome course so far!
Must be a new error or a WIP but I get:
Uncaught DOMException: Node.insertBefore: Child to insert before is not a child of this node
When I click back and forth the nested page/route
/create
only displays on a page refresh ๐คทโโ๏ธ ๐งช
I think I had the code in the wrong file. I didn't catch what file it was written in in the video. all good now!
Hi Alex, do you have any plan to make a course on "What's new in PHP 8 and 8.1 ?
I would love to see a lesson/lessons on fetching data from a GraphQL API. Thanks for your consideration. ๐๐ป
I managed to do something as follows:
1<script setup> 2 const { data: entries } = await useFetch('http://example.test/api', { 3 method: 'POST', 4 body: { 5 query: ` 6 query { 7 entries(section: "blog") { 8 id 9 title10 }11 }12 `13 },1415 headers: {16 // Use private schema17 Authorization: 'Bearer ' + "CeSeR5ZADWer6P4zNX0xLpgti0yfPN1F",18 'Content-Type': 'application/json',19 },2021 transform: (data) => data.data.entries22 })23</script>
Hi Alex, for the following episodes, can you change the bg color back to white?๐
Download button not appear!
Are we not going to use Laravel with Nuxt? Something like Vue with serverside rendering but Laravel as backend?
how to set favicon in nuxt 3
In any template you can do:
head: { title: 'Home page', meta: [ { hid: 'description', name: 'description', content: 'Home page description' }, ], link: [ { rel: 'icon', type: 'image/png', href: '' } ] },