Skip to main content

All Questions

1 vote
1 answer
2k views

app.js:81010 [Vue warn]: Error in mounted hook: "ReferenceError: $store is not defined"

I am attempting to refactor my code to use vuex. I am getting 2 errors: app.js:81010 [Vue warn]: Error in mounted hook: "ReferenceError: $store is not defined" and ReferenceError: $store is not ...
dottedquad's user avatar
  • 1,391
1 vote
1 answer
12k views

How to access $bvToast in vue class component

I'm pretty new to vue.js but I could figure out some things. I started with normal js but switched to typescript with class style vue components now. For components styling I use bootstrap-vue. in my ...
MichaelT's user avatar
1 vote
1 answer
849 views

how to add icon fontawesome on :title nav-tab bootstrap vue.js?

how to add font awesome on :title tab bootstrap vue.js? <b-tab :title="'Sebagai '+application_config.studentLabel+' <i class="fas fa-user-graduate"></i>'" active><p>I'm the ...
frontend developer's user avatar
9 votes
3 answers
14k views

How to wait until modal is closed and continue execution based on either OK or CANCEL was clicked?

Algorithm: I find the difference between two arrays of objects (what is new, what is deleted, renamed, etc). Differences are stored in data[1-5] Based on #1 I prepare a text summary (objects of text) ...
TitanFighter's user avatar
  • 5,164
1 vote
2 answers
951 views

Prevent Select Input value change conditionally

I have this vue component: <template> <div id="OrderTypeSelect" class="order-type-select"> <b-form-select v-model="curDocType" :options="options" class="mb-3"> ...
Jack Casas's user avatar
3 votes
3 answers
4k views

Managing which bootstrap-vue modal is open through vuex state

I am building an application that requires sequencing multiple bootstrap-vue modals. Specifically, a button in a nested component should open the 'manage' modal. The 'manage' modal contains buttons ...
Ben Kearney's user avatar