Skip to content
Discussion options

You must be logged in to vote
"devDependencies": {
    "axios": "^1.8.2",
    "concurrently": "^9.0.1",
    "Laravel-vite-plugin": "^1.2.0",
    "vite": "^6.0.11"
}

Also vite.config.js should be like this

import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';

export default defineConfig({
    plugins: [
        laravel({
            input: ['resources/css/app.css', 'resources/js/app.js'],
            refresh: true,
        }),
    ],
});

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@MasihTak
Comment options

Answer selected by MasihTak
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #57415 on October 17, 2025 06:08.