All Questions
28 questions
0
votes
0
answers
187
views
Module not found: Error: Can't resolve 'vue-router' in '{Project Path}\src'
In my vue.js project, I put this code :
import {createRouter, createWebHistory} from 'vue-router';
on the file router.js, but when I try to run the project on browser I always got this error message
...
0
votes
0
answers
489
views
Vue pass parameter to another file
I was wondering if this is possible:
For example i have two Vue.js files, lets call them file A and B.
On file there's on click function where the function has router.push to file B. But i need to ...
2
votes
0
answers
1k
views
Run a Vuejs application using vs code
I am trying to
run an existing project developed by VueJs with asp.net core on vs code.
The application works correctly when I run it with visual studio (IIS Express). But when I try to run it with vs ...
0
votes
1
answer
1k
views
how to make route redirect to login if user is not loggedIn in vuex
What is the problem in guard route the condition if(!store.getters.loggedIn) is always return false. If no token I can to go very routes. can anyone tell me the solution plz .
my expectation is want ...
0
votes
0
answers
394
views
Vue + Vuetify + Axios + Django : CRUD data table
I am trying to build a Vuetify CRUD using AXIOS. I am able to do CRUD operations, but am not able to display the newly added data till the page is refreshed. When I select edit, I am not able to see ...
1
vote
2
answers
1k
views
how to call child componenet on button click in parent componenet in vuejs
Inside parent component I include child component, I want to render(trigger) the child component when click on button. here is my code
<script>
import childComponenet'../../components/child-...
0
votes
1
answer
324
views
Vuetify tabs with router - tab.isActive is always false
I'm trying to implement Vuetify v-tabs with router so each tab is on different url.
The problem is that no table is getting activated. Everything seems to be working but I don't see any content and I ...
-1
votes
1
answer
589
views
Problem with the 'Vuetify Material Dashboard', in Drawer children links
I am using (Vuetify Material Dashboard) the free version, and I had a problem when I added sub-links and there was a problem with the directive ..
The problem is as follows..
This is Drawer Code:
<...
0
votes
1
answer
188
views
How can I attach one router link and one dialog box in dropdown in Vue.js?
I have to get a dropdown menu and attach the router link to other component and one dialog component for dialog box in it.
<td align="center">
<v-btn round class="mx-2 ...
-1
votes
1
answer
97
views
I can not listen from emitting child to parent communication
I have two components App.vue and ModalWindow.vue
I am trying to open a modal window (ModalWindow.vue) in the parent component App.vue
on button click with event "toggle" which calls the ...
1
vote
1
answer
2k
views
issues with router vuejs vue-router] Failed to resolve async component render: TypeError: Cannot read property '$createElement' of undefined
vue-router] Failed to resolve async component render: TypeError: Cannot read property '$createElement' of undefined
app.js:39190 [vue-router] uncaught error during route navigation:
app.js:41382 ...
1
vote
1
answer
632
views
Vuetify - Passing props to the tag created by router-link
When using tag to override the tag used to create the link, how can I pass props to the created Vue component?
Here you can see that I am using a v-list-item tag inside of a v-list (not shown). This ...
1
vote
1
answer
289
views
Router-view not loading contents, failed to mount template
I am new to Laravel and Vue Js. I am facing an issue and I am not being able to figure out what the exact problem is.
app.blade.php
<body>
<v-app id="app">
<example-...
0
votes
1
answer
3k
views
How can I implement ssr on vuetify?
I search on google with keyword ssr vuetify and I find this github : https://github.com/vuetifyjs/webpack-ssr
I try to implement it. I clone the project and save it in the webpack-ssr folder
Then I ...
0
votes
0
answers
523
views
Router-link not working in Vuetify Dialog
I'm using the Vuetify "Bottom sheet" as big navigation-menu for my Vue-App. In the bottom-sheet I have a list and each item links to its respective route. The route changes, but the state is only ...