Skip to content

Extract CodeRoad-Core #195

@ShMcK

Description

@ShMcK
Member

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

Activity

modified the milestone: CodeRoad Core on Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @ShMcK

        Issue actions

          Extract CodeRoad-Core · Issue #195 · coderoad/coderoad-vscode