You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I load or reload the "app's" browser page, Vue produces the warning:
vue.global.js:1503 [Vue warn]: Failed to resolve component: div
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
at <QPage id="c2" ref="r2" key=2 ... >
at <QPageContainer id="c1" ref="r1" key=1 ... >
at <QLayout id="c0" ref="r0" key=0 ... >
at <App>
With the minified / "production" JS assets (prod_js=True) the warning isn't being produced. I assume that's simply because the logging error level is set higher than warn for "production". This issue makes it annoying to develop using non-minified JS-sources. It also indicates that there is a real issue with how nicegui is leveraging Vue for custom HTML injection, so worth investigating if you have the bandwidth.
Version information
Python 3.10.13
Package versions (clean virtual environment with only nicegui installed)
I noticed these warnings a while ago, but couldn't get rid of them. And because they are usually hidden, I stopped thinking about them. But it would be create to either resolve or filter them.
Does anyone have an idea how we could tell Vue that it's fine to use <div> tags?
Description
Whenever I load or reload the "app's" browser page, Vue produces the warning:
Reproduce
test.py
)python test.py
With the minified / "production" JS assets (
prod_js=True
) the warning isn't being produced. I assume that's simply because the logging error level is set higher than warn for "production". This issue makes it annoying to develop using non-minified JS-sources. It also indicates that there is a real issue with how nicegui is leveraging Vue for custom HTML injection, so worth investigating if you have the bandwidth.Version information
Package versions (clean virtual environment with only nicegui installed)
The text was updated successfully, but these errors were encountered: