JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<title>Recreating the default configuration for Babylon.js viewer</title>
<style>
/* Force the viewer to have a specific size. This can be changed, of course. */
babylon {
width: 800px;
height: 500px;
}
</style>
</head>
<body>
<babylon environment-map.texture="https://playground.babylonjs.com/textures/environment.env" model.url="https://models.babylonjs.com/shark.glb"></babylon>
<script src="https://preview.babylonjs.com/viewer/babylon.viewer.js"></script>
</body>
</html>