• Shows the usage of the hook function of the vite plugin.

    Returns Plugin

    a vite plugin

    Example

    import { defineConfig } from 'vite';
    import vitePluginHookUse from 'vite-plugin-hook-use';

    export default defineConfig({
    plugins: [
    vitePluginHookUse()
    ]
    });

Generated using TypeDoc