Quickstart
The @nhtio/vite-plugins package is designed to be quickly integrated into any vite project
Installation
Install @nhtio/vite-plugins directly from your preferred package manager using one of the following commands:
sh
npm i @nhtio/vite-plugins -Dsh
pnpm add @nhtio/vite-plugins -Dsh
yarn add @nhtio/vite-plugins -DUsage
In your vite configuration (typically vite.config.mts) import the desired plugin and add it to the plugins array of your configuration definition.
typescript
import { dts } from '@nhtio/vite-plugins/dts'
export default {
...
plugins: [
...
dts(...)
...
]
...
}Available Plugins
See the API Documentation for a comprehensive list of plugins provided