How do I import my other components?

I’m writing a small application that sends a POST and GET request. But importing components seem difficult.

One reference project did it by exporting on window global object. How do I import it successfully here? Please tell me if I need to elaborate more.

1 Like

What do you mean by components? Are you talking about server-side modules, or on the client-side?