Skip to content
Source
Sign inSign up
TanStack/cli

fix Paraglide Start scaffold integration #503

Opensamuelstroschein(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/503/headopened

Showing 8 changed files with 16 additions and 7 deletions (loading 5).

x
0 of 8 viewed, 8 left
6 additions and 0 deletions.changeset/fuzzy-ravens-route.mdAdded
View file
@@ -0,0 +1,6 @@
+---
+'@tanstack/create': patch
+'@tanstack/cli': patch
+---
+​
+Configure the Paraglide add-on with TanStack Router URL rewrites and request-scoped server middleware.
1 addition and 7 deletionspackages/create/src/frameworks/react/add-ons/paraglide/assets/src/routes/demo.i18n.tsx.ejsModified
View file
@@ -1,5 +1,4 @@
import { createFileRoute } from "@tanstack/react-router";
-import logo from "../logo.svg";
import { m } from "#/paraglide/messages";
import LocaleSwitcher from "../components/LocaleSwitcher";
​
@@ -11,12 +10,7 @@
return (
<main className="demo-page demo-center text-center">
<section className="demo-panel flex w-full max-w-2xl flex-col items-center gap-4">
- <img
- src={logo}
- className="pointer-events-none h-28 animate-[spin_20s_linear_infinite]"
- alt="logo"
- />
- <p className="demo-muted text-lg">{m.example_message({ username: "TanStack Router" })}</p>
+ <p className="demo-muted text-lg">{m.example_message()}</p>
<a
href="https://inlang.com/m/gerre34r/library-inlang-paraglideJs"
target="_blank"