start function
Starts Diorama on the page and returns the app at once.
import { start } from '@dioramajs/diorama'It finishes starting in the background. A second call returns the same app, so a re-run module doesn't make another.
import { start } from '@dioramajs/diorama'export const app = start()function start(options?: StartOptions): AppParameters
| Name | Type | Description |
|---|---|---|
options? | StartOptions | Default |
Also exported from @dioramajs/diorama/auto.
Defined in packages/diorama/src/index.ts.