Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/guocaoyi/vite-plugins

Vite plugin for inferno app, and includes boilerplates write with Vite 2 + Inferno 8.0
https://github.com/guocaoyi/vite-plugins

inferno inferno-boilerplate infernojs vite vite-plugin vite-starter vite-template

Last synced: 19 days ago
JSON representation

Vite plugin for inferno app, and includes boilerplates write with Vite 2 + Inferno 8.0

Awesome Lists containing this project

README

        

# vite-plugin-inferno

An all in one preset for writing Inferno apps with the vite bundler.

## Features

- 🚀 Hot Module Replacement via prefresh
- 🔨 Devtools bridge during development

## Installing

```bash
λ npm i vite-plugin-inferno --save-dev

# or with pnpm
λ pnpm install vite-plugin-inferno --save-dev

# or with yarn
yarn add vite-plugin-inferno -D
```

## Usage

configurate in `vite.config.ts` or `vite.config.js`

```typescript
import { defineConfig } from 'vite'
import inferno from 'vite-plugin-inferno'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [inferno()],
})
```