Closed dransidu closed 3 years ago
Hello, thank you for taking time filling this issue!
However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).
I hope to see your helper-created issue very soon!
"laravel/framework": "^8.40"
package.json
webpack.mix.js
Description :
Just installed laravel, inertia.js with vue.js 3 and run npm run dev I am getting this error:
9% setup compilation vue-loader-plugin[webpack-cli] TypeError: The 'compilation' argument must be an instance of Compilation
Steps To Reproduce:
Installed fresh Laravel 8
composer require inertiajs/inertia-laravel
Create app.blade.php file in resources/views directory and add this
Create middlewares
php artisan inertia:middleware
Add this to Kernel.php (web group)
\App\Http\Middleware\HandleInertiaRequests::class,
Installed inertiajs Node modules
npm install @inertiajs/inertia @inertiajs/inertia-vue3
Add this to app.js in resources/js/app.js
Create new Pages directory in resources/js and add Home.vue file
Installed Vue.js 3, Vue loader and Vue compiler
Installed all npm packeges
npm install
Finally run npm run dev
npm run dev