All Questions
32 questions
-1
votes
1
answer
453
views
Failed to scan for dependencies from entries: index.html" Error after Running npm run dev
I am encountering an issue while trying to run my Vue.js project with Vite. After executing the command npm run dev, the server fails to start, and I receive the following error:
VITE v5.4.3 ready in ...
1
vote
1
answer
62
views
Testing Vuex reducer/mutation in Vue3/Vue-test-utils
I am in the process of migrating to Vue3, so please excuse me for not just using Pinia. I have a reducer like this:
export const mutations: MutationTree<UiState> = {
SET_LOADING: (state, ...
0
votes
0
answers
71
views
Vue.js - Issue with Menu Component and Event Handling
I'm currently working on a Vue.js project and have encountered an issue with a custom menu component. The menu is supposed to handle sorting types, and I'm using it in conjunction with a method (...
0
votes
1
answer
86
views
Getting error on clicking Menu icon in Vue 3 admin template
i have installed CoreUI Vue admin template CoreUI Vue Template. All the code is working fine except for the menu icon .
when i click on it to hide the side bar(it's a built in functionality .) it's ...
0
votes
0
answers
53
views
How can I handle all vue js routes start with "/admin" or "/user"
In Laravel we write below:
Route::prefix('/user')->name('User')->group(function()
{
// Our Routes
});
in Vue Js, when I searched I couldn't find anything.
please if someone knows about it, tell ...
0
votes
1
answer
46
views
how to put here hyperlink for this date?
How to put here hyperlink for this date? I want this random date to lead me to some random internet-link
<v-list-item-content>
<v-list-item-title>
02.06.2023
...
0
votes
1
answer
135
views
Opening a modal component with a button in another ccomponent using Vuetify
I have 2 components. Modal and Navbar. I'm trying to open Modal using a button in Navbar using vuex. I have a state called modalIsOpen. This states value changes from false to true when clicked on the ...
1
vote
0
answers
1k
views
Uncaught SyntaxError: ambiguous indirect export: default vuejs 3 in vuex
main.js
import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import Vue from 'vue';
import PrimeVue from 'primevue/config';
import AutoComplete from 'primevue/...
0
votes
0
answers
4k
views
Uncaught SyntaxError: ambiguous indirect export: default vuex
auth.js
import firebase from 'firebase'
import firebaseui from 'firebaseui';
const config = {
apiKey: "AIzaSyBfEKjNqtQRdeRxd1ocNwAQjPMo80MUn70",
authDomain: "qrpay-23f88....
1
vote
0
answers
354
views
vuex-persist does not store in localStorage: vue3 migration
I am trying to migrate a project from vue 2 to vue 3. The project uses vuex and vuex-persist to store the state of the application in localStorage.
In vue2, the code was as follows:
import Vuex from '...
2
votes
2
answers
1k
views
Passing Reactive State from Vuex to Composable
I'm working on a composable that's meant to encapsulate some logic with Vue3 and Vuex. The composable is working with a "feed" that is liable to change in the future, and comes from Vuex.
I'...
0
votes
1
answer
206
views
How to add a class on the interface based on the condition of the returned data in VueJS
Interface :
How when the index of the returned record is an even number the Row-reverse class is added ?
2
votes
1
answer
619
views
vuex unknown action type: addTodo
Hi I am getting the Error like this
[vuex] unknown action type: addTodo
I am new to Vue js and now i am learing so could please help me to resolve this issue.
Code is like this
store/index.js
import {...
2
votes
1
answer
653
views
Vuex can not install using npm and it give an error
When I try to install Vuex using NPM commands, it gives this error.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
...
1
vote
1
answer
921
views
How to add X(Close button) in v-autocomplete vuetify?
how can I add close button inside v-autocomplete list, so I could be able to close it using the button which is inside it.