Skip to content

Could not find 'window.blazorBootstrap.scriptLoader.initialize' ('scriptLoader' was undefined). #16

@christopherdude

Description

@christopherdude

I've used this package in multiple projects, but this is the first time I've received this error. On a razor page (index.razor) I simply have the following:

<ScriptLoader Async="true"
              Class="mt-4"
              ScriptId="script1"
              Source="//cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js" />

However, I keep receiving this error:
Could not find 'window.blazorBootstrap.scriptLoader.initialize' ('scriptLoader' was undefined).

I have all of the requirements fulfilled on each page, file, etc.; I just can't figure out what it's looking for / can't find?

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