This repository was archived by the owner on Jun 27, 2024. It is now read-only.
This repository was archived by the owner on Jun 27, 2024. It is now read-only.
[2.x] Production build not working in Vite projects #69
Closed
Description
When using the library in a Laravel project that uses Vite, you'll find this error in the browser console: currentRenderingInstance is null
. The test suite, a regular Laravel app with Laravel Mix, uses Webpack and works fine.
From searching the web, it seems the library is using the wrong Vue instance (at least not the one from the app). On the other hand, it looks like the Vite config is set up correctly.
From inspecting the build manually, I can see Vue is not included in the library, which is good.
Any help would be appreciated!