@natsuneko-laboratory/vite-plugin-next-directives
v0.1.0
Published
Support use client/server directives in Vite
Downloads
2
Readme
@natsuneko-laboratory/vite-plugin-next-directives
Support use client/server directives in Vite
Installation
$ npm install @natsuneko-laboratory/vite-plugin-next-directives
Usage
Add directives()
to your Vite configuration:
// vite.config.ts
import { defineConfig } from "vite";
import { directives } from "@natsuneko-laboratory/vite-plugin-next-directives";
export default defineConfig({
plugins: [...directives()],
});
License
MIT by @6jz