Reference the SfSmartPdfViewer script in a Blazor application
- 
    
Reference the script using a CDN for a quick setup without local files. For guidance, see the CDN reference.
 - 
    
Reference the script from the installed NuGet package via static web assets. For guidance, see Reference script from static web assets.
 - 
    
To include custom scripts, use the Custom Resource Generator. Ensure that pdfium.js and pdfium.wasm are added to the application (typically under wwwroot) and that the page can resolve their paths at runtime.
 
The following image shows the script and Pdfium files referenced in a Blazor application.
