Skip to content

Commit 564c8f4

Browse files
authored
chore: add create-preact recommendation to Preact templates (#17649)
1 parent d4d98dc commit 564c8f4

File tree

2 files changed

+20
-0
lines changed
  • packages/create-vite

2 files changed

+20
-0
lines changed

Diff for: packages/create-vite/template-preact-ts/src/app.tsx

+10
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ export function App() {
2525
Edit <code>src/app.tsx</code> and save to test HMR
2626
</p>
2727
</div>
28+
<p>
29+
Check out{' '}
30+
<a
31+
href="https://preactjs.com/guide/v10/getting-started#create-a-vite-powered-preact-app"
32+
target="_blank"
33+
>
34+
create-preact
35+
</a>
36+
, the official Preact + Vite starter
37+
</p>
2838
<p class="read-the-docs">
2939
Click on the Vite and Preact logos to learn more
3040
</p>

Diff for: packages/create-vite/template-preact/src/app.jsx

+10
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ export function App() {
2525
Edit <code>src/app.jsx</code> and save to test HMR
2626
</p>
2727
</div>
28+
<p>
29+
Check out{' '}
30+
<a
31+
href="https://preactjs.com/guide/v10/getting-started#create-a-vite-powered-preact-app"
32+
target="_blank"
33+
>
34+
create-preact
35+
</a>
36+
, the official Preact + Vite starter
37+
</p>
2838
<p class="read-the-docs">
2939
Click on the Vite and Preact logos to learn more
3040
</p>

0 commit comments

Comments
 (0)