Nuxt app.config

You can retrieve data from app.config.ts

URI app-config://{path}
Path

URL Query Key

Example query://basic

ViewState

Retrieve and Update

Specify app-config://{path} in the src attribute to retrieve an object from app.config.ts .

vue
<template>
 <ViewState
  v-slot="example"
  src="app-config://usebootstrap/navigations/default"
 >
  <ul>
   <li
    v-for="item in example.data"
    :key="item"
   >
    {{ item.name }}
   </li>
  </ul>
 </ViewState>
</template>
  • Getting started
  • Components
  • Forms
  • Layout
  • Content
  • Helpers
  • Utilities
  • About