Skip to content

Unhandled exception rendering component: Vditor is not defined #9

@zhoudali87

Description

@zhoudali87

Microsoft.JSInterop.JSException: Vditor is not defined
ReferenceError: Vditor is not defined
at Object.preview (https://localhost:5001/_content/Vditor/vditor-blazor.js:67:5)
at https://localhost:5001/_framework/blazor.server.js:1:70055
at new Promise ()
at e.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.server.js:1:70021)
at https://localhost:5001/_framework/blazor.server.js:1:26303
at Array.forEach ()
at e.invokeClientMethod (https://localhost:5001/_framework/blazor.server.js:1:26273)
at e.processIncomingData (https://localhost:5001/_framework/blazor.server.js:1:24211)
at e.connection.onreceive (https://localhost:5001/_framework/blazor.server.js:1:17296)
at WebSocket.i.onmessage (https://localhost:5001/_framework/blazor.server.js:1:46513)
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at Vditor.Preview.SetPreview() in /Users/zhoudali/Downloads/vditor-blazor-master/src/Vditor/Components/Preview.razor.cs:line 76
at Vditor.Preview.OnAfterRenderAsync(Boolean firstRender) in /Users/zhoudali/Downloads/vditor-blazor-master/src/Vditor/Components/Preview.razor.cs:line 68
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)

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