UNPKG

@nx-plugins/vite

Version:

The Nx Plugin for Vite that contains executors, generators, and utilities for managing Vite applications and libraries within an Nx workspace.

11 lines (10 loc) 561 B
import { GeneratorCallback, Tree } from '@nrwl/devkit'; import { ComponentGeneratorSchema } from './schema'; export interface NormalizedSchema extends ComponentGeneratorSchema { projectSourceRoot: string; className: string; directoryFormatted: string; } export declare function componentGenerator(host: Tree, schema: ComponentGeneratorSchema): Promise<GeneratorCallback>; export default componentGenerator; export declare const componentSchematic: (generatorOptions: ComponentGeneratorSchema) => (tree: any, context: any) => Promise<any>;