Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileCreatorVue2TypescriptClass

Creates a Vue v2.x typescript class-based file with parsed markdown content.

Hierarchy

Index

Constructors

constructor

Properties

Protected importsCreator

importsCreator: ImportsCreator

The imports creator to use for parsing the dependency tree.

Accessors

additionalDependencies

fileExtension

  • get fileExtension(): string

Methods

create

  • create(parsedMarkdown: string, dependencies: Dependencies, identifier: string): string
  • Creates a file content from the parsed generic parts.

    Parameters

    • parsedMarkdown: string

      The markdown parsed from a MarkdownParser.

    • dependencies: Dependencies

      The dependencies to pass to the ImportsCreator.

    • identifier: string

      A (preferably) unique identifier that may be used for the component's name.

    Returns string

Protected createImports

Protected getComponentName

  • getComponentName(identifier: string): string

Protected wrapParsedContent

  • wrapParsedContent(parsedMarkdown: string, parsedDependencies: string, identifier: string): string

Generated using TypeDoc