Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Regenhardt opened this issue Feb 18, 2020 · 0 comments
Open

Comments

@Regenhardt
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant