API Reference

Types

Important public types exported from @onmax/phaser-vue and @onmax/nuxt-phaser.

Vue runtime types

  • PhaserGameProps
  • PhaserGameExpose
  • PhaserSceneDefinition
  • PhaserSceneContext
  • PhaserBridge
  • PhaserObjectRef
  • PhaserGameRuntimeDefaults
  • PhaserVuePluginOptions
  • PhaserHmrStrategy
  • AssetManifest

Nuxt module types

  • NuxtPhaserModuleOptions
  • ResolvedNuxtPhaserModuleOptions

Why these types matter

PhaserSceneDefinition and PhaserBridge are the two most important types to thread through app code. They let you keep scene behavior and Vue orchestration strongly typed without inventing a second object model on top of Phaser.

Copyright © 2026