VolkovLabs / business-text

The Business Text panel plugin allows you to construct a text visualization template from the values of a dataset returned by a data source query.
https://docs.volkovlabs.io
Apache License 2.0
83 stars 13 forks source link

bootstrap import from file #341

Closed yosiasz closed 4 months ago

yosiasz commented 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!

yosiasz commented 4 months ago

i found this

https://esm.sh/bootstrap@5.3.3

mikhail-vl commented 4 months ago

When you do import, you need to use the /public/ folder in the URL.

yosiasz commented 4 months ago

let me try that. thanks