<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Vite Laravel App</title>
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body>
<h1>Welcome to My Vite-Powered Laravel App!</h1>
</body>
</html>
The @vite
directive ensures that the correct files are included during development and production, automatically handling versioning and cache busting.