@benjaminbauer It would help if you actually showed some code.
Laravel + Vue, switch from webpack to vite
Hello people, I've been trying to figure out my problem with AI tools for two days now, but I'm going around in circles. That's why I'm hoping that swarm intelligence can help me more.
I think I have a pretty good understanding of the basic process now. A Vue app is created and then attached to a DOM element. The components are then embedded within this element and SHOULD actually be rendered.
After much trial and error, I have now reached a point where the app supposedly starts up and is attached correctly, but the components are not visible and are only displayed in the DOM with their names. For example, <TestComponent></TestComponent>.
I am currently at a loss as to what to do next. I have already tried the following:
- Synchronous registration of components in the Vue app (eager import)
- Asynchronous registration of components in the Vue app
- Adding components as custom elements (works, but styling no longer works due to shadow dom)
According to all the migration guides I've read, it should now work. When I check my console in the browser, everything seems to be working and no errors are being thrown.
Please or to participate in this conversation.