I have an application completely with custom code in Power Pages. I currently have this structure:
Site/
│
├── Page.html
├── Page.css
├── Page.js
Where the JS file with about 5000 lines and I would like to simplify it a little bit by making other files and import from there into Page.js the functions, like for example:
│
├── Page.html
├── Page.css
├── Page.js
├── Utils.js
├── NewChat.js
├── Api.js
This would help me to make the code more clear and maintainable.
Is it possible to do that? How?

Report
All responses (
Answers (