mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 09:34:19 +08:00
style: add some notes
This commit is contained in:
@@ -22,8 +22,10 @@ setupRouter(app);
|
||||
// store
|
||||
setupStore(app);
|
||||
|
||||
// Directives
|
||||
setupDirectives(app);
|
||||
|
||||
// error-handle
|
||||
setupErrorHandle(app);
|
||||
|
||||
router.isReady().then(() => {
|
||||
@@ -35,8 +37,10 @@ if (isDevMode()) {
|
||||
window.__APP__ = app;
|
||||
}
|
||||
|
||||
// If you do not need to use the mock service in the production environment, you can comment the code
|
||||
if (isProdMode() && isUseMock()) {
|
||||
setupProdMockServer();
|
||||
}
|
||||
|
||||
// Used to share app instances in other modules
|
||||
setApp(app);
|
||||
|
Reference in New Issue
Block a user