Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pablo-mayrgundter/preact-router-vite-bun
- Owner: pablo-mayrgundter
- Created: 2023-12-07T21:02:39.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-07T23:27:37.000Z (11 months ago)
- Last Synced: 2024-05-01T19:57:00.092Z (6 months ago)
- Topics: bun, eslint, preact, vite, vitejs
- Language: TypeScript
- Homepage: https://pablo-mayrgundter.github.io/preact-router-vite-bun/
- Size: 127 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
$ viteVITE 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
```