Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "material/build-component"

Index

Functions

Functions

buildComponent

  • buildComponent(options: ComponentOptions, additionalFiles?: object): Rule
  • Rule that copies and interpolates the files that belong to this schematic context. Additionally a list of file paths can be passed to this rule in order to expose them inside the EJS template context.

    This allows inlining the external template or stylesheet files in EJS without having to manually duplicate the file content.

    Parameters

    • options: ComponentOptions
    • Default value additionalFiles: object = {}
      • [key: string]: string

    Returns Rule