Posted By: Anonymous
I have a configuration class that needs to load an xml file on starting my aurelia application. Now my problem is, that I have no Idea how to load that file so that I have the information present when I need them.
In my current implementation I’m using the aurelia-fetch-client for reading the information, but that leads to the point that the information are not present in time :/
Can somebody give me a hint how to implement that in a good way?
The question was discussed in detail in the Aurelia Discourse board with the result that it’s all about delaying
aurelia.start() as long as you haven’t loaded and processed the xml file.