Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hrfmmymt/deno-react-vite
https://github.com/hrfmmymt/deno-react-vite
Last synced: about 9 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/hrfmmymt/deno-react-vite
- Owner: hrfmmymt
- Created: 2024-01-09T09:49:15.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-09T10:08:39.000Z (10 months ago)
- Last Synced: 2024-04-14T04:36:35.511Z (7 months ago)
- Language: CSS
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vite + Deno + React + TypeScript
## Running
You need to have Deno v1.28.0 or later installed to run this repo.
Start a dev server:
```
$ deno task dev
```## Deploy
Build production assets:
```
$ deno task build
```## Notes
- You need to use `.mjs` or `.mts` extension for the `vite.config.[ext]` file.
## Papercuts
Currently there's a "papercut" for Deno users:
- peer dependencies need to be referenced in `vite.config.js` - in this example
it is `react` and `react-dom` packages that need to be referenced