Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hrfmmymt/deno-react-vite


https://github.com/hrfmmymt/deno-react-vite

Last synced: about 9 hours ago
JSON representation

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