cruip / tailwind-landing-page-template

Simple Light is a free landing page template built on top of TailwindCSS and fully coded in React / Next.js. Made by

Home Page:https://cruip.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App is blank once I build it

RayanAbid opened this issue · comments

Hi! I've been trying to build the app using npm run build the build is created successfully no errors at all but when I try to open the link the page is blank.

Screen Shot 2022-12-28 at 2 05 44 AM

This is the only error that I get. Any ideas on what might be causing this?

It works fine on dev mode.

I am unable to replicate the issue. I've just cloned the repository, installed the dependencies with npm i and built the app with npm run build. Did you make some changes to the template maybe?

I also get a similar problem. It's blank on mobile. Works fine on desktop, but if I resize the window to a mobile layout in the inspector and refresh the page, the layout is blank there too.

Edit- I believe I've isolated the issue to data-aos="zoom-y-out" in the HeroHome component. AOS is disabled on mobile which prevents anything from showing up at all.
Removing the disabled property from AOS.init fixed it.