Skip to content

JSInterop.JSException after only adding the script and .AddStorage() #24

@Regenhardt

Description

@Regenhardt

For some reason I can't get this to work. I'm using Blazor 3.2prev1.
I added .AddStorage() to the services.
I added <script src="_content/Cloudcrate.AspNetCore.Blazor.Browser.Storage/Storage.js"></script>after the blazor.webassembly.js script.
I removed any other code that might reference to LocalStorage.

As soon as I try to render a component, I get a JSException: String contains invalid character.

Any idea what I might have done wrong here?

image

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