yea, I noticed that the example from @shegz101 used Vite (React) and also @Phat_Ca was using npm for marzipano.
Although it’s better to use something like yarn, npm, vite for most projects, it does make the example a bit more complex.
I started to start small with Marzipano and build up to more complex examples.
It does seem that Marzipano code is high quality and it is powerful, possibly more powerful than pannellum.
The more I use Marzipano, the more I’m liking it.
You can also use a CDN. The cloudflare CDN uses the same version that I used when I built from source. For web apps with network access, using the CDN may be even easier.
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<title>Marz Minimal</title>
<link rel="icon" type="image/png" href="favicon.png">
</head>
<body>
<div id="pano"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/marzipano/0.10.2/marzipano.min.js"></script>
<script src="index.js"></script>
</body>
</html>