DioxusLabs / DioxusLabs/dioxus

Poor Lighthouse Score in Dioxus 0.7.1

Open
#4,930 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**Problem**

When running the _Mobile_ Lighthouse test on a page rendered with `dioxus serve -r`, we get a score of 75. Reverting to Dioxus `0.7.0` yields a score of 98.

Interestingly, the _Desktop_ lighthouse score seems unaffected.

**Steps To Reproduce**

Steps to reproduce the behavior:

- Initialize Dioxus with the fullstack template
- Enable Tailwind
- Run `dx serve --release`
- Observe _Mobile_ lighthouse score

**Expected behavior**

I would expect a clean score of 100 for the default app.

**Screenshots**

Image

**Environment:**

- Dioxus version: 0.7.1
- Rust version: 1.90.0
- OS info: Ubuntu 25.10
- App platform: Web

**Questionnaire**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.