[Solved-4 Solutions] Error: Bootstrap tooltips require Tether
Error Description:
- When using Bootstrap V4 the following error is logged in the console;
Error: Bootstrap tooltips require Tether
Solution 1:
- Bootstrap 4 needs Tether, so you need to include tether.min.js before you include bootstrap.min.js , eg.
Solution 2:
- If you are using npm and browserify:
Solution 3:
- If you're using Webpack:
- Set up bootstrap-loader as described in docs;
- Install tether.js via npm;
- Add tether.js to the webpack ProvidePlugin plugin.
webpack.config.js:
Solution 4:
- Add bellow source into Gemfile
- Run command:
- Add this line after jQuery in application.js.
- Restart rails server.