Skip to content

Including Tooltip for Bootstrap BEFORE bootstrap? #76

@simplenotezy

Description

@simplenotezy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions