Skip to content

Extract CodeRoad-Core #195

Closed
Closed
@ShMcK

Description

@ShMcK

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,
    }
  }
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogTODO laterquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions