Uncaught (in promise) Error: Component “Menu” not found
how do i solve this error
what can be wrong
Uncaught (in promise) Error: Component “Menu” not found
how do i solve this error
what can be wrong
what version of Lightning are you using? can you share some code?
npm info @lightningjs/blits version
1.27.0
The Menu component must be explicitly included within the components option.
components: {
Menu,
}
To dive deeper into the capabilities of Blits, explore the blits-example application
Live Demo:
https://blits-demo.lightningjs.io/
Source Code Repository GitHub -
Thank you
how do i use api with token and print data
I am getting errors on it as well.
any source with which i can get help
You can use the standard libraries like fetch, axios to make API call and you need to send tokens part of request headers.
You can find more about setting headers for fetch request from here,
Blits example app TMDB page is also get data from API, You can see fetching and headers logic at
blits-example-app/src/api/index.js at master · lightning-js/blits-example-app · GitHub
Feel free to go through TMDB page implementation in Blits Example Application.
i am using api in js and html there it is working well
getting full json data
from api whitelisted box serial number and token
in that how
[plugin:preCompiler] Unexpected string
where
no error
no console is working
can you share the code of the component that’s generating this error?