Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/remarkablemark/vite-preact-tailwind-ai-template
Vite Preact Tailwind AI template
https://github.com/remarkablemark/vite-preact-tailwind-ai-template
ai cloudflare cloudflare-pages preact tailwind tailwindcss template typescript vercel-ai-sdk vite
Last synced: 19 days ago
JSON representation
Vite Preact Tailwind AI template
- Host: GitHub
- URL: https://github.com/remarkablemark/vite-preact-tailwind-ai-template
- Owner: remarkablemark
- License: mit
- Created: 2024-11-12T00:25:30.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-01-10T16:17:39.000Z (21 days ago)
- Last Synced: 2025-01-10T17:25:38.993Z (21 days ago)
- Topics: ai, cloudflare, cloudflare-pages, preact, tailwind, tailwindcss, template, typescript, vercel-ai-sdk, vite
- Language: TypeScript
- Homepage: http://remarkablemark.org/vite-preact-tailwind-ai-template/
- Size: 1.44 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vite-preact-tailwind-ai-template
[![build](https://github.com/remarkablemark/vite-preact-tailwind-ai-template/actions/workflows/build.yml/badge.svg)](https://github.com/remarkablemark/vite-preact-tailwind-ai-template/actions/workflows/build.yml)
Vite Preact Tailwind AI template.
## Install
Clone the repository:
```sh
git clone https://github.com/remarkablemark/vite-preact-tailwind-ai-template.git
cd vite-preact-tailwind-ai-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.
## Debug
Login via Wrangler:
```sh
npx wrangler login
```Start a logging session:
```sh
npx wrangler pages deployment tail
```## License
[MIT](LICENSE)