Inject resource .js file using Vite #10913
Unanswered
dmca-glasgow
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm hoping to load a problematic js library as an external script in
vite.config.ts
like so:This adds another script tag in the HTML
<head>
:I added this to
tauri.conf.json
:and this to
capabilities/default.json
:but still get a 404 for the resource in Tauri.
Is it possible to do this? Thanks
Beta Was this translation helpful? Give feedback.
All reactions