Customizing the configuration of a Hilla application for both the development environment and for execution.

Enable multi-module projects and other JVM languages

Preview features
Support for multi-module projects and all JVM languages are preview features. You need to enable the hillaEngine feature flag to use them.

To allow the endpoint generator to use the correct parameter names when building TypeScript files, you need to configure the Java compiler to not omit them by using the javac -parameters option. For example, the following shows how configure the Maven plugin to include that compiler option:

                <!-- tag::snippet[] -->
                <!-- end::snippet[] -->

See each programming languageā€™s documentation how to enable the parameters option:

TypeScript compiler options

The TypeScript compiler requires a tsconfig.json file. If there is no tsconfig.json in the project root, the vaadin-maven-plugin generates one. The default configuration looks similar to the following:

  "compilerOptions": {
    "sourceMap": true,
    "inlineSources": true,
    "module": "esNext",
    "target": "es2017",
    "moduleResolution": "node",
    "strict": true,
    "noFallthroughCasesInSwitch": true,
    "noImplicitReturns": true,
    "noImplicitAny": true,
    "noImplicitThis": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "experimentalDecorators": true,
    "baseUrl": "frontend",
    "paths": {
      "Frontend/*": [
  "include": [
  "exclude": []