<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Laravel with React and Vite</title>
@vite(['resources/css/app.css', 'resources/js/app.jsx'])
</head>
<body>
<div id="app"></div>
</body>
</html>
This template includes the React app by targeting the #app
div. The @vite
directive ensures that the necessary assets are included and managed by Vite.