https://github.com/mattjennings/excalibur-vitest-browser
poc for running excalibur in vitest browser mode
https://github.com/mattjennings/excalibur-vitest-browser
Last synced: about 1 month ago
JSON representation
poc for running excalibur in vitest browser mode
- Host: GitHub
- URL: https://github.com/mattjennings/excalibur-vitest-browser
- Owner: mattjennings
- Created: 2024-03-21T01:59:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-21T02:11:52.000Z (about 1 year ago)
- Last Synced: 2025-04-08T19:31:47.011Z (2 months ago)
- Language: TypeScript
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Excalibur Vite Template
My personal template for creating [Excalibur.js](https://excaliburjs.com/) projects with [Vite](https://vitejs.dev/).
# Features
- Scene HMR reloading with [vite-plugin-excalibur-hmr](https://github.com/mattjennings/vite-plugin-excalibur-hmr)
- $res helper for loading assets with [vite-plugin-excalibur-resources](https://github.com/mattjennings/vite-plugin-excalibur-resources)
- Automatic global `ex` import with [unplugin-auto-import](https://github.com/unplugin/unplugin-auto-import)# Usage
```bash
# clone with degit
npx degit mattjennings/excalibur-vite-template my-game# install dependencies and run dev server
cd my-game
npm install
npm run dev
```