Companion CLI
Vuetale Companion CLI helps initialize projects, configure paths, extract types, and enable development reload workflows.
Command Naming Compatibility
Some guides use pnpm vt init, while current command sets often use vuetale install.
Use the command names available in your installed CLI version.
Updating Vuetale CLI
To update the Vuetale CLI to the latest version, run inside src/ui:
bash
pnpm install vuetale --latestCore Commands
install / init
Initialize project support files and Vuetale metadata wiring.
bash
vuetale install
# or
pnpm vt initconfig hytale-jar
Set path to Hytale/Vuetale JAR source used for extraction.
bash
pnpm vt config hytale-jar <absolute-path-to-jar>config resources
Set project resources output location.
bash
pnpm vt config resources <absolute-path-to-src/main/resources>extract
Extract module/type definitions.
bash
pnpm vt:extract
# or
vuetale extractdev
Enable/Disable dev/hot-reload support properties.
bash
pnpm vt dev true
pnpm vt dev falseremove
Remove a registered/extracted module alias.
bash
vuetale remove @aliasTypical Setup Sequence
Run from src/ui:
bash
pnpm install
pnpm vt init
pnpm vt config hytale-jar <jar-path>
pnpm vt config resources <resources-path>
pnpm vt:extract
pnpm vt dev true
pnpm watchCommon Problems
- Not a Vite project: run commands in
src/uiwherevite.config.tsexists. - Missing extraction output: verify
hytale-jarpath and rerun extract. - No runtime updates: ensure
dev trueis enabled and watch/build is running.
See Troubleshooting for detailed fixes.
