i am working on a little project in meteor js with typescript.
i want to import the following: click
to begin i tried doing the basic usage explained on the link (note that its a tsx file)
return(
// some working code
<link rel="stylesheet" href="../progress.css" />
<script type="text/javascript" src="/progress.js"></script>
<div className="ldBar" data-value="50">
</div>
when i try to visit the website i cant see anything new if i add that code. However i get the following error
Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:3000/progress.css".
i tried both with the type tag and without but nothing changes. What am i doing wrong?
PS: all files are in the imports/ui folder
Aucun commentaire:
Enregistrer un commentaire