I spent a lot of time to install InertiaVue and Tailwind on my new laravel 8. I have some experience with Vue.js.
I used this command to install inertia
composer create-project laravel/laravel nameofprojectt --prefer-dist
then I added this to the root template
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<link href="{{ mix('/css/app.css') }}" rel="stylesheet" />
<script src="{{ mix('/js/app.js') }}" defer></script>
</head>
<body>
@inertia
</body>
</html>
then I ran this command
php artisan inertia:middleware
I registered the HandleInertiaRequests middleware in my App\Http\Kernel, as the last item in my web middleware group.
\App\Http\Middleware\HandleInertiaRequests::class,
And I ran Npm install than Npm run dev
But I got always got this error
$page is undefined
Sorry if this question is to frequently about installation I am not really good on laravel. There is no clear installation how to install Laravel 8 (if yes I did not found it) with InertiaVue (does not say that need I install Vue separate or no) + Tailwind. (without jetstram).
If I use to install with jetstream everything is fine about Inertia.. But when I install without its not working for me.