Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/guocaoyi/vite-plugins
- Owner: guocaoyi
- License: mit
- Created: 2022-07-06T10:03:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T01:16:37.000Z (10 months ago)
- Last Synced: 2024-05-30T16:31:58.152Z (6 months ago)
- Topics: inferno, inferno-boilerplate, infernojs, vite, vite-plugin, vite-starter, vite-template
- Language: TypeScript
- Homepage:
- Size: 37.1 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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()],
})
```