Skip to content

Installation

Install the package

bash
npm install vitek-plugin
# or
pnpm add vitek-plugin
# or
yarn add vitek-plugin

Requirements

  • Vite ^5.0.0
  • Node.js 18+ (for development)

Your project must use Vite as the build tool. Add the plugin in your Vite config as shown in Getting Started. After installing, you can run npx vitek init to scaffold src/api and add vitek to your config (see Getting Started).