All Questions
43 questions
0
votes
0
answers
434
views
Vue.js - how to scroll to a parent "ref" division from a child method?
Here I am asking for your help...I want to scroll within a page. The page is rendered by the parent component, that include some child component where the scrollTo method is defined.
I have a parent ...
1
vote
1
answer
2k
views
Auto import components Nuxtjs not working
I'm confused why it didn't work on my vue file when Im trying to auto import components in my view, the documentation says link you just need to set the components into true inside nuxt.config.js file,...
0
votes
1
answer
408
views
Vue component not showed in vue dev tools
I'm using vue js on laravel,
i have two different file app.js and app-filter.js in my resource/js folder
what i want is to call the app-filter.js on specific page but the app js is always called for ...
-1
votes
1
answer
387
views
How to register Vue component in Laravel Framework?
There is some issue in the Laravel + Vue Project.
The error is like this:
[Vue warn]: Unknown custom element: <packages> - did you register the component correctly? For recursive components, ...
0
votes
1
answer
699
views
search vue.js with laravel api
I am trying to make search in a list of elements but when i make the function with vue js i got nothing , in my below code you can see that i got the list and display it in the table successfully but ...
0
votes
0
answers
65
views
Loading a laravel 8 + vue component only with the SHIFT key
I am starting a project with laravel 8 + vue.
My app.js file:
enter image description here
My index.blade.php
enter image description here
Unfortunately the component is not loading. If I press the ...
0
votes
2
answers
122
views
Laravel-Vue component
i'am trying to attach a vue component with a tag
MyComponent.vue
<template>
<div>
<h1>Hi</h1>
</div>
</template>
<script>
export default {
}
...
0
votes
1
answer
1k
views
How to display detail view on separate page using Vuejs
I have a page where there is multiple cases and when i click on case it shows the detail against this case on same page.
I have attached the screen shot
as you can see two cases are showing 1) ublox ...
0
votes
1
answer
51
views
Problem with trapping user_id from my dashboard component... -- Laravel / Vue.js
Problem with trapping user_id from my dashboard vue component TableEditLinks.vue, when if i change user_id in methods: submitForm() from "1" to "document.querySelector("meta[name='user_id']").content('...
0
votes
1
answer
2k
views
how i can use vuejs component in laravel blade?
the idea is to use vue component inside file blade but i got this error
Failed to mount component: template or render function not defined.
this my importation in app.js
Vue.component('Notification'...
0
votes
2
answers
1k
views
How to load a vue component in js file
I would obtain the following behavior: if in my database a certain condition is present, I would to load a specific vue.component instead of another. In other word, I have a file called discover.js ...
-1
votes
1
answer
2k
views
Laravel can't find the Vue instance
Laravel was installed and so was Vue:
composer require laravel/ui
php artisan ui vue
npm install && npm run dev`
However, Laravel cannot find the Vue instance that is created in app.js.
...
0
votes
2
answers
52
views
Passing params in router vue
I’m having a problem. I can’t get it to work.
I have this component called Projet. Inside of it, I have this block of code:
i want when i click in project it will take me to another detailpage
but ...
-1
votes
1
answer
78
views
How can i Pass data from controller to components vue.js
i want to show client in form select but nothing happen this my from and components script form
script
3
votes
0
answers
931
views
Laravel 6, Vue.js component not updating
So the standard example-component that is included with Laravel works just fine.
app.js:
require('./bootstrap');
window.Vue = require('vue');
Vue.component('example-component', require('./...