I am new with kotlin / JS which uses React as a framwork. I would like to know if it is possible to have multiple pages in a single module that use different scripts and not just “project name” .js
m
Marc Knaup
11/20/2020, 1:10 PM
That’s not possible. If you want to have multiple JS files you need to use multiple modules.
➕ 1
a
Alessandro Toninelli
11/20/2020, 1:11 PM
thank u marc, I appreciate it 🙂
m
Marc Knaup
11/20/2020, 1:23 PM
Just to double-check: You mean multiple JS files generated from Kotlin code, don’t you?
You can import any number of external JS files though 🙂
a
Alessandro Toninelli
11/20/2020, 1:25 PM
yes, i meant more files generated by kotlin. So have the ability to use multiple html pages to call them