problem phenomenon
After setting the route, the page of the newly added page is still blank without any error.
Problem Cause and Solution
The occurrence of this problem can only indicate that the path or configuration is wrongly written.
Step 1: Check the configuration: the routes in router/index.js should not be written as routers, that is, one r is missing.
Step 2: Check whether the page path is wrongly written. My name is @/page/login, so it can’t be written as @/src/page/login
@/router and don’t write it wrong
to reflect
Recently, there have been a lot of errors due to uppercase and lowercase letters, so you must pay attention to external configuration or api. At the same time, it is necessary to record the daily errors, because the previous errors have been solved, and now the same error is reported and I forget how to correct it, which is a waste of time.