Documentation | Creating UI | Templates | Sub-Templates (Example not working) V24

frontend/src - ts files, com/example/application/component - Component files Java

It looks like there’s a mistake in the docs,.The import of r’child-template.js` should be relative

import './child-template.js`

but I didn’t understand how, we have a ts file and not js

image.png

thanks, it works now

import js or ts does it do the same or are there any special differences?

It works for me this way and that way

You can take a look at this page to understand how modulre resolution is supposed to work