When do login access control,
Judge me permission to do it through the global routing guard, so you may need to do some, such as early in the project loaded
Interface requests,
vuex modification
The type of problems
In fact, very simple, straightforward figure:
It should be no problem
In addition you can also refer to: https: //www.cnblogs.com/stella1024/p/10563091.html
Look loading order of each file in vue