Closed yosiasz closed 4 months ago
hello
How can I do the following for bootstrap?
I put bootstrap.min.js in public folder but I keep getting errors about it not being in build folder.
import("bootstrap.min.js").then(({ default: bootstrap }) => { console.log('bootstrap', bootstrap) })
Thanks!
i found this
https://esm.sh/bootstrap@5.3.3
When you do import, you need to use the /public/ folder in the URL.
/public/
let me try that. thanks
hello
How can I do the following for bootstrap?
I put bootstrap.min.js in public folder but I keep getting errors about it not being in build folder.
Thanks!