vue-phaserjs 2.39.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/index.d.ts +448 -150
- package/dist/index.js +51 -46
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -25,8 +25,8 @@ pnpm i vue-phaserjs @esposter/shared parse-tmx vue phaser phaser4-rex-plugins pi
|
|
|
25
25
|
|
|
26
26
|
Add the type declaration files so scene key types and custom plugins get proper intellisense:
|
|
27
27
|
|
|
28
|
-
- [`phaser.d.ts`](https://github.com/Esposter/Esposter/blob/main/
|
|
29
|
-
- [`vue-phaserjs.d.ts`](https://github.com/Esposter/Esposter/blob/main/
|
|
28
|
+
- [`phaser.d.ts`](https://github.com/Esposter/Esposter/blob/main/apps/web/app/types/phaser.d.ts) — narrows scene key types
|
|
29
|
+
- [`vue-phaserjs.d.ts`](https://github.com/Esposter/Esposter/blob/main/apps/web/app/types/vue-phaserjs.d.ts) — provides custom plugin types
|
|
30
30
|
|
|
31
31
|
## <a name="documentation">📖 Documentation</a>
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ We highly recommend you take a look at the [documentation](https://esposter.com/
|
|
|
34
34
|
|
|
35
35
|
### Usage
|
|
36
36
|
|
|
37
|
-
See the reference implementation in [`
|
|
37
|
+
See the reference implementation in [`apps/web/app/pages/dungeons.vue`](https://github.com/Esposter/Esposter/blob/main/apps/web/app/pages/dungeons.vue) for a complete example of a Phaser game embedded in a Nuxt/Vue page with Pinia-driven state.
|
|
38
38
|
|
|
39
39
|
### Features
|
|
40
40
|
|