Nuxt 3 says 'product' is not defined but it is.
Here is a reproduction https://stackblitz.com/edit/github-bqbsvw?file=pages%2Fproducts%2F%5Bid%5D.vue
I am following along with https://www.youtube.com/watch?v=L9suY4qAFrQ&list=PL4cUxeGkcC9haQlqdCQyYmL_27TesCGPC&index=10 and my code should be working, if I comment out any mention of
What am I doing wrong?
I am following along with https://www.youtube.com/watch?v=L9suY4qAFrQ&list=PL4cUxeGkcC9haQlqdCQyYmL_27TesCGPC&index=10 and my code should be working, if I comment out any mention of
product and refresh it works fine, if I then uncomment them then it will work for a bit before saying that 'product is undefined'. What am I doing wrong?
YouTubeThe Net Ninja
In this lesson you'll learn how to make a custom error page for the application.

Watch the whole course now (without ads) on Net Ninja Pro:
https://netninja.dev/p/nuxt-3-crash-course
Access the course files on GitHub:
Course files - https://github.com/iamshaunjp/nuxt-3-tutorial
Vue 3 Tutorial:
On Net Ninja Pro - https://netninja.de...
https://netninja.dev/p/nuxt-3-crash-course
Course files - https://github.com/iamshaunjp/nuxt-3-tutorial
On Net Ninja Pro - https://netninja.de...

