How can I run javascript codes, css files and javascript files into wkhtmltopdf in asp.net core api project?

I use the Chart.js library to draw charts, but I use the wkhtmltopdf library to convert pdf. But my javascrip codes and css codes are not working. How can I make it work?