Laravel / InertiaJS / VueJS / ViteJS / Octane / SSR - A Working Configuration?
I'm trying to get my website project up and running with Laravel 10, InertiaJS 1, VueJS 3, and ViteJS 4, using Laravel Octane and Vue/Vite SSR. For the life of me I cannot seem to get a configuration that works properly... I've tried everything I can think of to Google, and nothing seems to work 100%...Either:
the assets aren't published to the public folder, or
they are published properly but they're being linked to files that don't exist because the folder is nested twice (/public/build/public/build/), or
I get an error after build that says the built version of Vue doesn't provide an export named 'createApp', or
I get an error that says 'resources/js/app.css' could not be found in manifest.json (despite it being imported within app.js and not referenced directly in the build process), or
Any number of endless issues I cannot seem to avoid.
Does anyone have a working configuration for all the aforementioned tools working in concert together? Or would know what I'm doing wrong here? (If the provided files are not enough context, I'm happy to pay someone to look more deeply into my repo and provide counsel/solutions).
Uncaught SyntaxError: The requested module '/build/node_modules/.vite/deps/vue.js?v=35631b10' does not provide an export named 'createApp' (at app.js:28:9)
Looking into the built code, it looks like it only exports an object named 'compile'