Skip to content

Commit 3f2d110

Browse files
committed
fix: disabled hydration on website
There are still some issues with hydration that have yet to be fixed.
1 parent a75a57e commit 3f2d110

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

website/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ readme = "./README.md"
1313

1414
[dependencies]
1515
# We use the current version of Perseus, not the local one
16-
perseus = { version = "0.3.0-beta.22", features = [ "translator-fluent" ] }
16+
# Hydration is temporarily disabled pending some fixes in Sycamore
17+
perseus = { version = "0.3.0-beta.22", features = [ "translator-fluent" ], no-default-features = true }
1718
sycamore = "0.7"
1819
sycamore-router = "0.7"
1920
serde = "1"

website/tailwind.config.js

+7-10
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@ const defaultTheme = require("tailwindcss/defaultTheme");
22
const colors = require("tailwindcss/colors");
33

44
module.exports = {
5-
purge: {
6-
mode: "all",
7-
content: [
8-
"./src/**/*.rs",
9-
"./index.html",
10-
"./src/**/*.html",
11-
"./src/**/*.css",
12-
"./static/**/*.css",
13-
],
14-
},
5+
content: [
6+
"./src/**/*.rs",
7+
"./index.html",
8+
"./src/**/*.html",
9+
"./src/**/*.css",
10+
"./static/**/*.css",
11+
],
1512
darkMode: process.env.NODE_ENV == "production" ? "media" : "class",
1613
theme: {
1714
fontFamily: {

0 commit comments

Comments
 (0)