mituri

[VUE] add botstrap 4 to project

Aug 10th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. npm install bootstrap jquery popper.js --save
  2.  
  3. Add to file main.js BEFORE line "Vue.config.productionTip = false"
  4.  
  5. import 'bootstrap/dist/css/bootstrap.css'
  6. import jQuery from 'jquery'
  7. global.jQuery = jQuery
Add Comment
Please, Sign In to add comment