Answer the question
In order to leave comments, you need to log in
How to use bootstrap in vue.js2?
Tell me how to call, for example, a modal window from bootstrap in js code
. This library seems to work as soon as it works with 1 version of vue, it was not possible to start.
Here is an example of a more logical application, but it also failed to start
<div id="mmod">
<button class="btn btn-default btn-lg" v-on="click:showModal = true">Show modal </button>
<modal title="Modal" show="@{{@showModal}}" effect="fade" width="400">
....
</modal>
</div>
new Vue({
el:'#mmod',
components: {
'modal':modal
},
data: {
showModal: false
}
});
Answer the question
In order to leave comments, you need to log in
kzima.github.io/vuestrap-base-components/#
vuejsexamples.com/tag/bootstrap
?
I don’t see the point in using bootstrap components in vue app if you can use, for example, element.eleme.io/#/en-US/component/installation
Leave only some styles and grid from bootstrap (although this is not necessary, but if you are used to it ... )
PS
show="@{{@showModal}}" - What is this? Maybe so: v-show="showModal"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question