Skip to content

Can't run example codes #23

@Yaoaoaoao

Description

@Yaoaoaoao

Hello,

I have some problems running the example codes.

I followed the steps in "Install and execute main app or provided examples", installed all dependencies and ran the app. The "brat-frontend-editor.js" was loaded by the browser. But I got an error:

Uncaught ReferenceError: BratFrontendEditor is not defined
    at window_onload ((index):415)
    at onload ((index):424)

I also tried the react example in the section "Import module in your current application". Another error showed up:

window.BratFrontendEditor is not a constructor

I'm still new to frontend development. Anyone saw this before and knows a solution?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions