Options
All
  • Public
  • Public/Protected
  • All
Menu

Module next-server/server/load-components

Index

Type aliases

LoadComponentsReturnType

LoadComponentsReturnType: { App: AppType; Component: React.ComponentType; ComponentMod: any; Document: DocumentType; buildManifest: BuildManifest; getServerSideProps?: GetServerSideProps; getStaticPaths?: GetStaticPaths; getStaticProps?: GetStaticProps; pageConfig?: PageConfig; reactLoadableManifest: ReactLoadableManifest }

Type declaration

  • App: AppType
  • Component: React.ComponentType
  • ComponentMod: any
  • Document: DocumentType
  • buildManifest: BuildManifest
  • Optional getServerSideProps?: GetServerSideProps
  • Optional getStaticPaths?: GetStaticPaths
  • Optional getStaticProps?: GetStaticProps
  • Optional pageConfig?: PageConfig
  • reactLoadableManifest: ReactLoadableManifest

ManifestItem

ManifestItem: { file: string; id: number | string; name: string }

Type declaration

  • file: string
  • id: number | string
  • name: string

Functions

interopDefault

  • interopDefault(mod: any): any
  • Parameters

    • mod: any

    Returns any

loadComponents

  • Parameters

    • distDir: string
    • pathname: string
    • serverless: boolean

    Returns Promise<LoadComponentsReturnType>

Generated using TypeDoc