Rafael Zasas
Rafael Zasas

Reputation: 993

How to override the default 404 screen in Qwik?

I'm testing out the Qwik Javascript framework from Builder IO and I cant find any documentation which points me in the direction of customizing the 404 page.

I am using the qwik-city plugin from Qwik.

Upvotes: 3

Views: 1290

Answers (3)

Rafael Zasas
Rafael Zasas

Reputation: 993

This has been resolved by the official Qwik team. See This PR for details.

Upvotes: 2

szilagyi.sandor
szilagyi.sandor

Reputation: 214

I was able to do this by creating a "catch all route" at the root level. Simply create a normal page in src/routes/[...whatever]/index.tsx.

Upvotes: 2

Lukas249
Lukas249

Reputation: 2471

Check it. It's about how to render a 404 page. https://qwik.builder.io/qwikcity/routing/error-responses/

Upvotes: 2

Related Questions