I'm trying to understand how wix-router works because I do not understand from the guides.
So I created a router called admin. Here I inserted a page called "Events" in addition to the one created automatically called admin-page which is empty.
The routers.js file has been created which contains this as from screen shot:
I tried to access the "Events" page in advance, but it gives me an error like a sceen shot:
I also tried online and this is the mistake
I tried to edit routers.js this way, but the error remains
I read these articles to understand something, but I can not manage to get them.
Someone can help me by giving me some advice, I have other examples to observe, because I would like to learn this function that I find useful.