I am new to next js. just trying to convert a single html page to next js website so i can use sanity on it. I have been able to import every assets necessary but it just keeps loading and the preloader refuses to go away. I inspect the elements and realized a generated file called main-app.js is taking so long to load and I don't know what it does. Ok i tried to Manually removed the preloader and i saw that the page has loaded but i don't just know why the preloader cannot go away on its on as it is in the simple HTML file.
Please any contribution will be highly appreciated. here's the link to the repo and the live site on varcel:
site: https://cios-pi.vercel.app/
github:
Via Active questions tagged javascript - Stack Overflow https://ift.tt/ohRMi0d
Comments
Post a Comment