To install and configure the Deepkit template engine in your TypeScript project, you need to adjust the tsconfig.json
file. In the compilerOptions
, set the jsx
value to "react-jsx"
and the jsxImportSource
value to "@deepkit/template"
. You also need to make sure you have "experimentalDecorators": true
and "emitDecoratorMetadata": true
enabled. Then you can use JSX directly in your controller.