style: add some notes

This commit is contained in:
vben
2020-10-29 23:01:11 +08:00
parent 7658f4d6e8
commit 2f1fbf8e48
14 changed files with 101 additions and 29 deletions

View File

@@ -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);