Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

panthro's avatar

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?

0 likes
4 replies
martinbean's avatar

@panthro We don’t know. Check your browser’s web console for any JavaScript errors.

1 like
panthro's avatar

@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,
                },
            },
        }),
    ],
});

Please or to participate in this conversation.