No description
- JavaScript 51.5%
- TypeScript 48.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| 0.1.0 | ||
| scripts | ||
| .gitignore | ||
| manifest.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
PML TypeScript repository template
Initial setup
install npm packages
install the npm packages with your node package manager
Fetch PolyTypes
Run npm run types to download the latest version of the PolyTypes type definition
Development
IDE
It is recommended to use an IDE with TypeScript support like VSCode or WebStorm
Testing
To test your mod, run npm run dev, then open https://w.polymodloader.com in your browser and
import http://localhost:8081 as a pml mod.
Make sure to disable cache mods in PML settings.
Any changes to the TypeScript files will automatically trigger a compile, so you won't have to worry about compiling.