Comments (13)
same story if I use <component :is="myDynamicComponentName" />
from components.
Can people confirm that it works during SSR and then fails on client (hydration) ?
I've been able to see good output for less than a second, then when client is hydrated there come the error (hydration mismatching nodes error + unknown custom element)
from components.
@pi0 is there a workaround / fix for this. Stuck with this issue. Pls advice
from components.
+1
from components.
+1
from components.
+1
My head is recursive now.
from components.
@kevinmarrec Yes, it works during SSR but fails on client.
from components.
I really love this package. Unfortunately, when you have a project with nested components, you have to revert back to basic imports. Just wondering if there is an ETA for fixing this issue?
from components.
+ 1
I also get this error with a plain new nuxt installation and some super basic recursive data:
tree: [
{
title: '1',
tree: [
{
title: '1.1',
tree: [ /* etc */ ]
}
]
},
]
I get my recursive components working with putting the Item, in your case »CaseItem/Array/Object« to lazy: »LazyCaseItem/Array/Object«.
It (the html from it) also gets generated with npm run generate
. Is this a safe option?
from components.
Did anyone find any solution or should I downgrade my version of nuxt?
from components.
@StEvUgnIn I think you should downgrade. This issue is not fixed yet.
from components.
I am surprised that I meet this issue when I run my custom server based on express
and spdy
, but not with nuxt
internal server...
from components.
I fixed the bug in my project. It was due to babel transpilation. If you are using babel, make sure to disable it on Vue components.
from components.
Related Issues (20)
- Render function or template not defined in component HOT 9
- feat: get list of components at runtime HOT 5
- Dependency Dashboard
- Since updating from Nuxt 2.15.4 to 2.15.8, auto import components no longer work HOT 15
- Support custom resolvers HOT 1
- Problem after 2.1.8, app breaks if using lodash as plugin HOT 6
- Auto import components with nested directory cant use go to define on Visual Studio Code HOT 3
- Size after building is bigger with `components: true`
- Can a library module still import components manually? HOT 1
- Autoloading breaks when file exports multiple components at once.
- Nuxt build fails when using yarn berry plug-n-play mode
- Production build with directories marked with `isAsync: false` imports components asynchronously HOT 2
- A way to get an array of all the components that are autoloaded
- How to have typescript inference with this? HOT 1
- How to avoid nuxt-i18n error when you doing testing with Jest?
- SCSS variables not working
- Nuxt 3.0.0 support HOT 1
- Component automatically introduces the generated component name.
- Remove suffix (.component.vue)
- How to use Lazy loading component when auto imports for component is disabled? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from components.