All Questions
123 questions
0
votes
0
answers
53
views
Vue3 : jquery__WEBPACK_IMPORTED_MODULE_2___default(...)(...).modal is not a function
I have a Vue 3 app.
I've install jQuery + Bootstrap and included them in main.js like this:
import "bootstrap";
import "bootstrap/dist/css/bootstrap.min.css";
global.jQuery = ...
0
votes
1
answer
46
views
Vue element not loading on hidden modal
I am trying to display a Vue component onto a modal controlled by semantic ui, however, the vue element is not loading/mounting. I am using Laravel & JQuery mainly with some vue elements.
I ...
-1
votes
1
answer
485
views
document.querySelector() always selects the element with the class "Open" even after it has been removed and replaced with the class "Close" | Vue3 js
So I was trying to find a Vue Solution of the jQuery SlideUp() and slideDown() functionality. And I have run into a problem while creating the same for my Side Bar Menu Open and Close funtion. See my ...
0
votes
1
answer
71
views
watch changes of nested data in vuejs
I want to watch changes of families variable which contains nested objects
<component-test
v-for="family of familiesToDisplay"
// rest
/>
data: () => ({
families: []...
0
votes
0
answers
171
views
How to add custom javascript in vue component
Here is the screenshot
I'm not able to make a toggle work as it is written in (jquery-based) javascript. The HTML and CSS is working fine but I'm unable to get the toggle workin as it is related to (...
-1
votes
1
answer
488
views
Vue js and cloned components
I have a form that contain a list of v-select managed by Vue js, all select in my application is managed by this module and other input field are a sample html field.
when i clone the form with jquery ...
-1
votes
1
answer
128
views
How to use Vuejs to replace this jquery code?
I have this code below :
log(n) {
$('#log').append('<div></div>').append(document.createTextNode(n));
},
The jquery function will inject text into the code below :
<div id='log'&...
-1
votes
1
answer
88
views
Unable to Vue.Js bootstrap modal
I'm trying to render bootstrap modal as a Vue.Js component. Please find code below. I've also pushed the code to a Git repo.
I keep getting the error.
testInstance.$mount is not a function
https://...
0
votes
1
answer
3k
views
Save image type on image upload using vue.js
I'm trying to upload image using vue.js that will be multiple images and user can get preview of those images, but i also want to save image type i.e. user can set primary image from groups of images ...
1
vote
2
answers
745
views
jQuery not working in vue component when change route
I have an issue with jQuery script files is not working inside vue component but it working outside it, I found a solution to put all script files in script section inside vue component, but I'am ...
0
votes
2
answers
566
views
Can We use jquery onscroll function in Vue.js?
i want to use JQuery on scroll function to stick my navbar at the top in vue.js how can i do so.
this is what i am doing my Components that is navbar in bootstrap which i want to stick onscroll. also ...
1
vote
1
answer
3k
views
Vue Js infinite loop marquee (horizontal bar)
I need recommendations on how to build an infinite loop marquee from my vue js code, or at least how to use Vue Js and jQuery for this specific project.
My project Fiddle is as follows: https://...
0
votes
0
answers
173
views
Best way to bind jquery to vue templates with v-if divs
New to vue, and pretty weak in front-end dev. I'm trying to create a simple score card app and when the v-if changes the div displayed on the page, the jquery isn't bound to the new elements. For ...
0
votes
1
answer
623
views
Vue.js variable undefined after being passed to another component
I have a variable commentRecId in component A, that I want to pass to use it in component B.
I included this in the template of component A:
<EditComment v-bind:comment-rec-id="commentRecId" v-if=...
1
vote
5
answers
3k
views
How to set focus on textarea upon opening a component modal
I'm trying to create a post creator like Facebook when you press on the text area it pops up another form with another Textarea I have already done that but the problem here that I can not set focus ...