asset-builder
asset-builder copied to clipboard
Including Tooltip for Bootstrap BEFORE bootstrap?
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.