Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "src/utils/nuxt-build-utils"

Index

Functions

Const createPageRoutes

  • createPageRoutes(option: { componentPrefix?: string; dir: string; pathPrefix?: string }): any
  • 특정 디렉토리의 page route를 생성

    Parameters

    • option: { componentPrefix?: string; dir: string; pathPrefix?: string }

      생성 옵션

      • dir: 페이지 디렉토리 경로
      • componentPrefix: 컴포넌트에 추가할 prefix
      • pathPrefix : 경로에 세팅할 prefix
      • Optional componentPrefix?: string

        component prefix

      • dir: string

        directory

      • Optional pathPrefix?: string

        path prefix

    Returns any

getBuiltMiddlewareObject

  • getBuiltMiddlewareObject(buildDir: string): any