From b4cf83fa0f790e2abaa66fdadd72d1cc71b8a720 Mon Sep 17 00:00:00 2001 From: Ryan Christian Date: Tue, 9 Jul 2024 22:35:26 -0500 Subject: [PATCH 1/3] chore: Add `create-preact` recommendation to Preact templates --- packages/create-vite/template-preact-ts/src/app.tsx | 6 ++++++ packages/create-vite/template-preact/src/app.jsx | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/packages/create-vite/template-preact-ts/src/app.tsx b/packages/create-vite/template-preact-ts/src/app.tsx index b1f47a1d03fd31..c16f79d06ff3c3 100644 --- a/packages/create-vite/template-preact-ts/src/app.tsx +++ b/packages/create-vite/template-preact-ts/src/app.tsx @@ -25,6 +25,12 @@ export function App() { Edit src/app.tsx and save to test HMR

+

+ Check out{' '} + + create-preact + + , the official Preact + Vite starter

Click on the Vite and Preact logos to learn more

diff --git a/packages/create-vite/template-preact/src/app.jsx b/packages/create-vite/template-preact/src/app.jsx index 343021ac1211cd..34a7eeb438f847 100644 --- a/packages/create-vite/template-preact/src/app.jsx +++ b/packages/create-vite/template-preact/src/app.jsx @@ -25,6 +25,12 @@ export function App() { Edit src/app.jsx and save to test HMR

+

+ Check out{' '} + + create-preact + + , the official Preact + Vite starter

Click on the Vite and Preact logos to learn more

From 18226be16c1de37585777c0d0bc74eeaf9bc3a85 Mon Sep 17 00:00:00 2001 From: Ryan Christian Date: Tue, 9 Jul 2024 22:44:39 -0500 Subject: [PATCH 2/3] chore: Missing end tag on paragraph --- packages/create-vite/template-preact-ts/src/app.tsx | 5 +++-- packages/create-vite/template-preact/src/app.jsx | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/create-vite/template-preact-ts/src/app.tsx b/packages/create-vite/template-preact-ts/src/app.tsx index c16f79d06ff3c3..e0f54306b878c2 100644 --- a/packages/create-vite/template-preact-ts/src/app.tsx +++ b/packages/create-vite/template-preact-ts/src/app.tsx @@ -29,8 +29,9 @@ export function App() { Check out{' '} create-preact - - , the official Preact + Vite starter + + , the official Preact + Vite starter +

Click on the Vite and Preact logos to learn more

diff --git a/packages/create-vite/template-preact/src/app.jsx b/packages/create-vite/template-preact/src/app.jsx index 34a7eeb438f847..a3b19814de3d14 100644 --- a/packages/create-vite/template-preact/src/app.jsx +++ b/packages/create-vite/template-preact/src/app.jsx @@ -29,8 +29,9 @@ export function App() { Check out{' '} create-preact - - , the official Preact + Vite starter + + , the official Preact + Vite starter +

Click on the Vite and Preact logos to learn more

From 1b7fce6d35998013d1c2083f6ffe0cec92a19108 Mon Sep 17 00:00:00 2001 From: Ryan Christian Date: Tue, 9 Jul 2024 22:48:37 -0500 Subject: [PATCH 3/3] chore: Formatting --- packages/create-vite/template-preact-ts/src/app.tsx | 7 +++++-- packages/create-vite/template-preact/src/app.jsx | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/packages/create-vite/template-preact-ts/src/app.tsx b/packages/create-vite/template-preact-ts/src/app.tsx index e0f54306b878c2..5860cb5bb139c0 100644 --- a/packages/create-vite/template-preact-ts/src/app.tsx +++ b/packages/create-vite/template-preact-ts/src/app.tsx @@ -27,8 +27,11 @@ export function App() {

Check out{' '} - - create-preact + + create-preact , the official Preact + Vite starter

diff --git a/packages/create-vite/template-preact/src/app.jsx b/packages/create-vite/template-preact/src/app.jsx index a3b19814de3d14..e8104922fc420c 100644 --- a/packages/create-vite/template-preact/src/app.jsx +++ b/packages/create-vite/template-preact/src/app.jsx @@ -27,8 +27,11 @@ export function App() {

Check out{' '} - - create-preact + + create-preact , the official Preact + Vite starter