https://github.com/barelyhuman/tom-nitro-preact
https://github.com/barelyhuman/tom-nitro-preact
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/barelyhuman/tom-nitro-preact
- Owner: barelyhuman
- License: mit
- Created: 2023-08-28T16:58:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-28T17:12:19.000Z (almost 2 years ago)
- Last Synced: 2025-04-15T02:12:56.526Z (2 months ago)
- Language: CSS
- Size: 136 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# prev-nitro
This is a tiny boilerplate that adds support for preact-islands into [unjs/nitro](https://nitro.unjs.io).
So you get the amazing DX from nitro and h3 to be able to deploy anywhere and you get preact islands for when you wish to add interactivity.
## Usage
- Clone this template using Github or using degit
```sh
npx degit barelyhuman/prev-nitro
```Replace `` with the name of your project.
- Install Dependencies
```sh
npm i # delete the `yarn.lock` file in using this command
# or
yarn i
```- Run in Dev Mode
```sh
npm run dev
# or
yarn dev
```- Build for production usage
```sh
npm run build
# or
yarn build
```# Docs
You can go through the [nitro documentation](https://nitro.unjs.io) to understand how to work with nitro.
## License
reaper Open License for both OSS and Commercial.
The source is provided as is and licenses of other dependecies used by the source are still viable. Please read them carefully.