tsx-vue
Run Typescript & ESM files and automatically compile imported Vue files. Forked from esbuild-kit/tsx, but removed REPL and watch mode.
Notice: If you are compiling Vue files, manually install Vue as a dependency.
Use for Bobo Style
Usage
Install it as a development dependency:
npm install -D tsxv
And reference it directly in the package.json#scripts
:
{
"scripts":{
"dev": "tsxv ..."
}
}
Or just call it with npx while in the project directory:
npx tsxv ...