Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/remarkablemark/vite-preact-ts-template

Vite preact-ts template
https://github.com/remarkablemark/vite-preact-ts-template

preact template ts typescript vite

Last synced: 7 days ago
JSON representation

Vite preact-ts template

Awesome Lists containing this project

README

        

# vite-preact-ts-template

[![build](https://github.com/remarkablemark/vite-preact-ts-template/actions/workflows/build.yml/badge.svg)](https://github.com/remarkablemark/vite-preact-ts-template/actions/workflows/build.yml)

Vite Preact TypeScript template.

## Install

Clone the repository:

```sh
git clone https://github.com/remarkablemark/vite-preact-ts-template.git
cd vite-preact-ts-template
```

Install the dependencies:

```sh
npm install
```

## Run

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.

Open [http://127.0.0.1:5173](http://127.0.0.1:5173) to view it in the browser.

The page will reload if you make edits.

You will also see any errors in the console.

### `npm run build`

Builds the app for production to the `dist` folder.

It correctly bundles in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your app is ready to be deployed!

### `npm run lint`

Runs ESLint.

## License

[MIT](LICENSE)