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

https://github.com/barelyhuman/tom-nitro-preact


https://github.com/barelyhuman/tom-nitro-preact

Last synced: 2 months ago
JSON representation

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.