Home > Net >  Flutter web not loading on Gitlab Pages
Flutter web not loading on Gitlab Pages

Time:10-21

I managed to build and deploy my project to Gitlab pages, but when I try to access it, it's blank. Here is the repo: https://gitlab.com/grabtools/content_check
You can see in CI/CD the pipeline passed and the artifact is in public.

I'm new to web and just playing around with flutter so I have no idea what's wrong.

Thanks

CodePudding user response:

Try to change your --base-href /repo_name/ and build like

  stage: deploy
  script:
    - flutter build web --release --web-renderer html --base-href /content_check/
  • Related