Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throwing up error when i load bootstrap in vue #921

Closed
kayoderock opened this issue Mar 2, 2018 · 1 comment
Closed

throwing up error when i load bootstrap in vue #921

kayoderock opened this issue Mar 2, 2018 · 1 comment

Comments

@kayoderock
Copy link

import Vue from 'vue'
import VueRouter from 'vue-router'
import vueResource from 'vue-resource'
import VueSession from 'vue-session'
import VueModal from 'vue-js-modal'
import VuePopper from 'vue-popperjs'
import VueJQuery from 'jquery'
import Bootstrap from 'bootstrap'

import app from './App.vue'
import {routes} from './route.js'

Vue.use({VueJQuery});
Vue.use(VuePopper)
Vue.use(VueSession, {persist: true})
Vue.use(VueRouter)
Vue.use(vueResource)
Vue.use(VueModal)
Vue.http.options.root = 'http://localhost:1337/';
Vue.use(Bootstrap);

Uncaught TypeError: Cannot read property 'install' of undefined
at Function.Vue.use (vue.esm.js?efeb:4680)
at eval (main.js?3479:20)
at Object. (build.js:1056)
at webpack_require (build.js:679)
at fn (build.js:89)
at Object. (build.js:905)
at webpack_require (build.js:679)
at build.js:725
at build.js:728

I keep getting this issue only when i add the use part of bootstrap

@vue-bot
Copy link

vue-bot commented Mar 2, 2018

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants