Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Nuxt 3 says 'product' is not defined but it is. - Nuxt
N
Nuxt
•
3y ago
•
20 replies
Kittensmakemesmile
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
product
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
?
YouTube
The Net Ninja
Nuxt 3 Crash Course #10 - Error Pages
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
.
.
.
Nuxt
Join
Nuxt Community Chat Server
31,686
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Nuxt auto imports: useToast is not defined
N
Nuxt / ❓・help
5mo ago
"#build/nuxt.config.mjs" is not defined
N
Nuxt / ❓・help
14mo ago
Nuxt Content ContentSlot and "property was accessed but is not defined"
N
Nuxt / ❓・help
2y ago