Closed
Description
Make the app into a wrapper, so that others can reuse the core of CodeRoad for their own extensions. The aim would be to allow for shared development of the platform.
- extract error handler
- extract Landing screen component
- extract TutorialList screen component
- config
import CodeRoad from '@coderoad/core'
const app = new CodeRoad({
hooks: {
onError: customerErrorHandler,
},
screens: {
Landing: LandingComponent,
TutorialList: TutorialListComponent,
},
config: {
tutorial: {
hints: true,
loadSolution: false,
}
}
})