-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Vue.js 2.1 render trouble #45
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
Comments
I have the same problem as well on any component. |
I just tested, and i've got the same error with the last version of bootstrap-vue (i rebuilded), i'll investigate Edit : I found a solution, i'll make a pull request about it next week ;) |
same here, wainting for yours pull-request 👍 |
same here, I just used vue-cli lwith bootstrap-vue but failed for same error, what is the fix for this? |
加油 解BUG |
我今天纠正 ! |
赞👍 |
Fixed Vue.js 2.1 render trouble #45
Hey mates, i fixed the issue in my last commit, so please try to rebuild and give me your feedback |
Hello, |
Great ! Thanks @fabien-lg i can close the issue |
If you haven't could you please update npm and bump the version number. |
@fabien-lg , @mathlet0x , I tried to rebuild but UglifyJS caught these errors:
|
@andrzejkupczyk already have an issue(#48) about that. 👍 |
I'm still facing this issue (with v0.3.12) while trying to register This is error I get while trying to use Alerts.
I tried it with a webpack configuration generated using Vuepack (which is based on Webpack 2.2 RC) as well as with vue-webpack-boilerplate. Is there something that I'm missing here? |
@kushalpandya New version is not released yet however your problem seems not related to that... would you please provide your entry point script ? |
@pi0 Sure, here's my import Vue from 'vue';
import VueRouter from 'vue-router';
import BootstrapVue from 'bootstrap-vue';
import App from './App';
import Routes from './routes';
Vue.use(VueRouter);
Vue.use(BootstrapVue);
const router = new VueRouter(Routes);
const app = new Vue({
router,
...App
});
app.$mount('#app'); And here's usage within a template (it is also a router outlet) <template lang="html">
<div class="container-fluid page-body">
<b-alert :show="true" state="success" dismissible>
This is an alert
</b-alert>
<router-view></router-view>
</div>
</template> |
@kushalpandya Sorry for delay. I've created a dummy workingexample using Vuepack and latest version of this repo. Please see vuepack-bootstrap-example. |
@pi0 Thanks a lot for a quick example to test 😃 that did fix my problem, I probably had incorrect property mappings in Thanks a ton for saving me hours of frustration! 🎉 |
I'm facing the same issue (ReferenceError: _h is not defined). I'm looking forward to the "Vue 2.1 -ready" vesion. Tks Guys! |
Hey @Jonas-buriti, what is your webpack version ? |
Does anyone know if this issue is fixed? |
Yes it is ! |
Hi,
there is some troubles with vue.js in 2.1 version. I got the error:
Vue warn]: Error when rendering component <bNavbar>: vue.js?3de6:2963 Uncaught ReferenceError: _h is not defined(…)
I rollback to vuejs 2.0.8 for now and everything works fine.
The text was updated successfully, but these errors were encountered: