Frontmatter
| id | 702 |
| title | create-app program: simplify the app.mjs file |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jun 10, 2020, 10:16 PM |
| updatedAt | Jun 10, 2020, 10:19 PM |
| githubUrl | https://github.com/neomjs/neo/issues/702 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 10, 2020, 10:19 PM |
Neo.onStart = function() { Neo.app({ appPath : 'apps/sharedcovid2/', mainView: MainContainer, name : 'Covid2' }); };should be
Neo.onStart = () => Neo.app({ appPath : 'apps/sharedcovid2/', mainView: MainContainer, name : 'Covid2' });