As the first step, I created basic elements for the styleguide. As soon as I made the first draft I also did a few screens of the app. I choose the most simple ones, just to test typography, input fields and buttons I already had.
Then I continued with the screens but simultaneously checking styleguide. Improving current elements and adding new ones. So, it was a continuous process of going back and forward and switching from one thing to another.