Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pablo-mayrgundter/preact-router-vite-bun

Sample app with preact w/router, vite, bun, eslint
https://github.com/pablo-mayrgundter/preact-router-vite-bun

bun eslint preact vite vitejs

Last synced: 26 days ago
JSON representation

Sample app with preact w/router, vite, bun, eslint

Awesome Lists containing this project

README

        

# preact-router-vite-bun

[Live demo](https://pablo-mayrgundter.github.io/preact-router-vite-bun)

Built with [bun](https://bun.sh/), using preact w/router, vite, eslint.

Jest was required for some reason in the eslint tsparser, so added it too. But I think bun has its own jest emulator for fast testing. May revisit this.

# Getting Started
```
> git clone https://github.com/pablo-mayrgundter/preact-router-vite-bun
> cd preact-router-vite-bun
preact-router-vite-bun> bun i
bun install v1.0.15 (b3bdf22e)
+ @preact/[email protected]
+ @typescript-eslint/[email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]

534 packages installed [1461.00ms]
preact-router-vite-bun> bun run dev
$ vite

VITE v4.5.1 ready in 775 ms

➜ Local: http://127.0.0.1:5173/preact/
➜ Network: use --host to expose
➜ press h to show help
```