Execute code before first page load
[issue link]I want to check some url params to change the layout of my page before I initiate the page load.
I tried to use a middleware script to do so, but this middleware script seems to be ignored at the client’s side at the beginning.
For now I put my code into the created method in my component, but I was wondering if there is a nicer way. Maybe using a plugin which runs at the beginning?
Thanks for input on this behalf.
Cheers