+ 1

Multiple JavaScript Pages?

I'm learning Game Development in JS but I need more than 1 page or file in a folder. Can anyone help? If there's no solution, would it work if I saved separate files into 1 folder and compiled them?

28th Apr 2019, 7:22 AM
AADeluxe
AADeluxe - avatar
1 Answer
+ 1
Hi AAvanDeluxe you need something like require.js add to your vendors. Then you will be able to include other files into main file.
28th Apr 2019, 9:16 AM
Vlad Kosko
Vlad Kosko - avatar