Skip to content
/ bun-preact-ts Public template

Because "bun create preact --typescript" is not a thing apparently

Notifications You must be signed in to change notification settings

johanneslil/bun-preact-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preact TS with Bun runtime

This is a simple template for starting a Preact project bootstrapped with bun, with TypeScript instead of the default JavaScript configuration.

Getting Started

Cloning the repo

To create a TS Preact project with bun:

bun create johanneslil/bun-preact-ts ./bun-preact-ts-app

To create a regular JS Preact project with bun:

bun create preact ./bun-preact-app

Development

First, run the development server.

bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying src/app.tsx. The page auto-updates as you edit the file.

Learn More

To learn more about Preact.js, take a look at the following resources:

You can check out the Preact.js GitHub repository - your feedback and contributions are welcome!

About

Because "bun create preact --typescript" is not a thing apparently

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published