asset-builder icon indicating copy to clipboard operation
asset-builder copied to clipboard

Including Tooltip for Bootstrap BEFORE bootstrap?

Open simplenotezy opened this issue 6 years ago • 0 comments

Hi there,

I am trying to figure out how to pull in tooltip.min.js before bootstrap is loaded which is required by bootstrap (https://getbootstrap.com/docs/4.3/components/tooltips/).

Currently my manifest.json looks like so:

{
  "dependencies": {
    "main.min.js": {
      "vendor": [
        "../../node_modules/popper.js/dist/popper.min.js",
        "bootstrap"
      ],
      "files": [
        "scripts/global.js"
      ],
      "main": true
    },
    "main.min.css": {
      "files": [
        "styles/theme.scss"
      ],
      "main": true
    }
  },
  "paths": {
    "source": "assets/",
    "dist": "dist/"
  }
}

I am pulling in popper via "yarn/npm" since it is not officially supported by bower.

I am still receiving error: .tooltip is not a function


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

simplenotezy avatar Sep 17 '19 21:09 simplenotezy