HI Jenul,
Sorry for the delay and thanks for your patience.
Please find the sample like below to integrate the PDF
Viewer component in svelte.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/pdfviewer-svelte-sample1467572482.zip
Also, you can refer from above sample src -->
App.svelte to load JS file.
Steps to run the sample:
$>>> npm install
$>>> npm run dev
Please get back to us if you need any further assistance.