书栈网 · BookStack 本次搜索耗时 0.018 秒,为您找到 793 个相关结果.
  • Transition Properties

    Transition properties The pageTransition Property The layoutTransition Property Transition properties Set the default properties of the page and layout transitions. The pag...
  • Deploy on Surge

    使用 Surge.sh 部署 如何使用 Surge.sh 部署? 使用 Surge.sh 部署 如何使用 Surge.sh 部署? Nuxt.js 允许你将静态化后的站点部署至任何静态站点托管服务中,例如 surge.sh 。 部署至 surge.sh ,需先安装 surge : npm install - g surge 然后,...
  • State Management

    State Management Best practices Examples Basic usage Advanced Shared state State Management Nuxt provides useState composable to create a reactive and SSR-friendly shared ...
  • Routing

    Automatic Routes Navigation Automatic Routes Most websites will have more than one page (i.e. a home page, about page, contact page etc.). In order to show these pages, we nee...
  • Plugins

    Plugins External Packages Vue Plugins ES6 plugins Inject in $root & context Inject into Vue instances Inject into context Combined inject Client-side only Name conventional ...
  • Validate Method

    Nuxt.js lets you define a validator method inside your dynamic route component. Type: Function or Async Function validate is called every time before navigating to a new...
  • css

    Style Extensions Nuxt.js lets you define the CSS files/modules/libraries you want to set globally (included in every page). In case you want to use sass make sure that you h...
  • useFetch

    useFetch Type Params Return values Example useFetch This composable provides a convenient wrapper around useAsyncData and $fetch . It automatically generates a key based ...
  • Plugins

    Plugins External Packages Vue Plugins ES6 plugins Inject in $root & context Inject into Vue instances Inject into context Combined inject Client-side only Name conventional ...
  • Vuex 状态树

    Vuex 状态树 使用状态树 普通方式 模块文件 插件 fetch 方法 nuxtServerInit 方法 Vuex 严格模式 Module Mode 经典模式 Vuex 状态树 对于每个大项目来说,使用状态树 (store) 管理状态 (state) 十分有必要。这就是为什么 Nuxt.js 内核实现了 Vuex 。 [...