Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/remarkablemark/vite-preact-ts-template
- Owner: remarkablemark
- License: mit
- Created: 2023-09-03T20:39:54.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-29T10:46:20.000Z (2 months ago)
- Last Synced: 2024-10-29T12:42:53.675Z (2 months ago)
- Topics: preact, template, ts, typescript, vite
- Language: JavaScript
- Homepage: https://remarkabl.org/vite-preact-ts-template
- Size: 1.64 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)