Options
All
  • Public
  • Public/Protected
  • All
Menu

nuxt 관련 properties

Hierarchy

  • NuxtProperties

Index

Properties

Optional api

api: ApiConfigurableOption & { ignoreErrorUrlPatterns?: string[]; occurErrorwhenReceivedApiErrCode?: boolean }

API default option

Optional cache

캐시 설정

Optional Readonly config

config: Configuration

nuxt configuration

readonly

Optional css

css: string[]

css

Optional generation

generation: { generateDirPath?: string; generateProfiles?: Profile[]; profileApiUrl?: string }

static genration 옵션

Type declaration

  • Optional generateDirPath?: string

    after generate code, copied path (for spa)

  • Optional generateProfiles?: Profile[]

    generate profile (SPA일 경우, 빌드 시 저장할 profile을 multiple로 설정한다.)

    default

    []

  • Optional profileApiUrl?: string

    서버 Profile 수신 API URL

    default

    /api/current-profile

Optional head

head: MetaInfo

head

Optional interfaces

interfaces: { apiLogging?: { reqLoggingUrl?: string; resLoggingUrl?: string }; initialDataApiUrl?: string }

인터페이스 설정

Type declaration

  • Optional apiLogging?: { reqLoggingUrl?: string; resLoggingUrl?: string }

    API 로깅

    • Optional reqLoggingUrl?: string

      요청 로깅 주소 경로

    • Optional resLoggingUrl?: string

      응답 로깅 주소 경로

  • Optional initialDataApiUrl?: string

    인터페이스 정보 조회 API URL

Optional layouts

layouts: NuxtLayout[]

nuxt layouts

Optional mobile

mobile: { enabled?: boolean; hybrid?: { bridge?: { enabled?: boolean; staticBridgeNames?: { currentTime?: string; notifyLoaded?: string; storage?: string; toast?: string }; useLogging?: boolean; useTokenSecurity?: boolean }; nativeAgent: { android: string; ios: string } } }

mobile 지원 기능 설정

Type declaration

  • Optional enabled?: boolean

    모바일 연계 기능 활성화 여부

  • Optional hybrid?: { bridge?: { enabled?: boolean; staticBridgeNames?: { currentTime?: string; notifyLoaded?: string; storage?: string; toast?: string }; useLogging?: boolean; useTokenSecurity?: boolean }; nativeAgent: { android: string; ios: string } }

    hybrid APP 설정

    • Optional bridge?: { enabled?: boolean; staticBridgeNames?: { currentTime?: string; notifyLoaded?: string; storage?: string; toast?: string }; useLogging?: boolean; useTokenSecurity?: boolean }

      모바일 브릿지 설정

      • Optional enabled?: boolean

        사용 여부

      • Optional staticBridgeNames?: { currentTime?: string; notifyLoaded?: string; storage?: string; toast?: string }

        고정 브릿지 명

        • Optional currentTime?: string

          현재 시간 가져오는 브릿지

        • Optional notifyLoaded?: string

          로드 완료 통지 브릿지 명

        • Optional storage?: string

          스토리지 연계 브릿지 명

        • Optional toast?: string

          토스트 호출 브릿지 명

      • Optional useLogging?: boolean

        로깅 사용 여부

      • Optional useTokenSecurity?: boolean

        토큰 검증 사용여부

    • nativeAgent: { android: string; ios: string }

      native agent 추가 검증 값

      • android: string

        안드로이드

      • ios: string

        iOS

Optional module

Application option

Optional routes

routes: NuxtRoute[]

custom routers

Optional secureClientProps

secureClientProps: Array<string>

client에 숨길 property 목록 작성

['app.profile', 'app.processPath']

Optional ui

ui: { closeAllModalsWhenRouteChanged?: boolean; replaceDialogFunctions?: boolean }

ui 설정

Type declaration

  • Optional closeAllModalsWhenRouteChanged?: boolean

    router 변경 시 모달 close 여부

  • Optional replaceDialogFunctions?: boolean

    dialog function을 event-bus 기반 메소드로 변경

    default

    true

Optional utilities

utilities: { compositionApi?: { enabled?: boolean }; mediaQuery?: { breakPoitns?: BreakPoints; enabled?: boolean }; portal?: { enabled?: boolean } }

유틸리티 기능 사용 설정

Type declaration

  • Optional compositionApi?: { enabled?: boolean }

    composition api

    • Optional enabled?: boolean

      활성화 여부

  • Optional mediaQuery?: { breakPoitns?: BreakPoints; enabled?: boolean }

    미디어 쿼리 기능 설정

    • Optional breakPoitns?: BreakPoints

      통지 범위 설정

    • Optional enabled?: boolean

      사용 여부

  • Optional portal?: { enabled?: boolean }

    vue-portal 설정

    • Optional enabled?: boolean

      활성화 여부