Skip to content

Commit

Permalink
chore: add create-preact recommendation to Preact templates (#17649)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian committed Jul 14, 2024
1 parent d4d98dc commit 564c8f4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/create-vite/template-preact-ts/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ export function App() {
Edit <code>src/app.tsx</code> and save to test HMR
</p>
</div>
<p>
Check out{' '}
<a
href="https://preactjs.com/guide/v10/getting-started#create-a-vite-powered-preact-app"
target="_blank"
>
create-preact
</a>
, the official Preact + Vite starter
</p>
<p class="read-the-docs">
Click on the Vite and Preact logos to learn more
</p>
Expand Down
10 changes: 10 additions & 0 deletions packages/create-vite/template-preact/src/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ export function App() {
Edit <code>src/app.jsx</code> and save to test HMR
</p>
</div>
<p>
Check out{' '}
<a
href="https://preactjs.com/guide/v10/getting-started#create-a-vite-powered-preact-app"
target="_blank"
>
create-preact
</a>
, the official Preact + Vite starter
</p>
<p class="read-the-docs">
Click on the Vite and Preact logos to learn more
</p>
Expand Down

0 comments on commit 564c8f4

Please sign in to comment.