Ngrok and Inertia just doesn't work
I'm trying to get Inertia to work with Ngrok.
I just get a blank page via ngrok (fine on local machine).
Where am I going wrong?
@panthro We don’t know. Check your browser’s web console for any JavaScript errors.
@martinbean Unable to locate file in Vite manifest: resources/js/Pages/Welcome.vue.
Config:
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue';
export default defineConfig({
plugins: [
laravel({
input: 'resources/js/app.js',
ssr: 'resources/js/ssr.js',
refresh: true,
}),
vue({
template: {
transformAssetUrls: {
base: null,
includeAbsolute: false,
},
},
}),
],
});
@panthro then build your assets? npm run build?
Please or to participate in this conversation.