defineComponents(components, opts)

Define all components that should be used.

Arguments

  1. components Array of components
  2. opts Object of settings
    1. crabug Boolean - Turn on/off debug logging

Example

defineComponents([
  Home,
  View
], { crabug: process.env.NODE_ENV === 'production' ? false : true })

results matching ""

    No results matching ""