All Questions
Tagged with vue-cli-3 vue-component
31 questions
0
votes
1
answer
324
views
How to use component with global register in Vue Cli3
This is my folder
+src
+components
+Logo.vue
App.vue
main.js
In my main.js I had been import the file
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
...
1
vote
1
answer
4k
views
Failed to resolve component in same folder Vue 3
I am using Vue 3 with class based components and Typescript. If I try to use a component inside another component I get this error:
[Vue warn]: Failed to resolve component: Button
If this is a native ...
0
votes
0
answers
290
views
Vue - Webpack - Force scss @import to be chunked in to a shared file?
I'm currently experiencing a pattern where in Vue I have this in a number of different components. What I'm finding is that webpack is then going ahead and including the contents of src/assets/styles/...
0
votes
1
answer
387
views
How do I edit vue-loader to support audio files?
this is my first question here so please let me know if you need more info.
I am working on a small project using vue CLI 3 and I want to add audio and audio controls but I get the following error:
...
2
votes
1
answer
2k
views
How to place image address in array and use that array index in source VUE JS?
I’m new into vue js and I’m facing a little issue. I’m sure that its a minor issue as I’m new into it can’t able to solve it by myself. Any suggestion or solution will be acknowledge.
Thing is I want ...
0
votes
1
answer
968
views
Vue with own backend code on server (Node.js+Vue.js)
So... for my job I am making a software solution that helps our employees have a centralized location to do their work on since we'll be transitioning to a Microsoft 365/Azure environment. My co-...
2
votes
0
answers
2k
views
Why Vue web component styles are not working?
I'm new to Vue and i've built a card game with Vue and Buefy which contains 4 components each of them having their own styles and functionalities. I want my entirely application to be builted into one ...
0
votes
1
answer
1k
views
How to pass parameter of a function with v-for in Vue?
I am trying to pass a parameter to a function by looping through an the array items with v-for.
<template>
<v-app>
<v-app-bar app>
<v-app-bar-nav-icon @click="...
0
votes
1
answer
519
views
Filereader progress in Vue.js component
I have a component that should to handle the upload file. It holds a bootstrap vue progress component.
I would to handle file loading of filereader.
This is part of vue.js component:
<b-form-file ...
0
votes
0
answers
638
views
How to fix module not found error in vue cli?
I am getting following error when I am trying to run my vue cli application. I have put my style.css file in assests folder and images in public/images folder.Then I have imported css file into main....
2
votes
0
answers
762
views
Build Vue Component with external Libraries for usage in browser
I have a component, which uses some filter and external added components. I will include this component in a static website. I build my component as lib, but it does not include the filters.
"build": ...
0
votes
1
answer
648
views
<router-link> and JSON questions using Vue.js and Vue Router
I am creating my design portfolio using Vue CLI 3. I am using <router-view> and <router-link> to navigate to my different components. The architecture of my website is very simple. I have ...
0
votes
1
answer
453
views
Using custom events in a component that is registered programmatically [VUE]
i am appending a child component in Vue programmatically as seen below:
var ComponentClass = Vue.extend(FormulaGeneratorConstant) //create instance from FormulaGeneratorConstant component
this....
6
votes
1
answer
292
views
Vue.js SFC conditionally include template elements at compile time
Our product has multiple customers, and each have their own customer-specific modifications.
Is there a way in a Vue2 template of an SFC to conditionally include or exclude other components at the ...
2
votes
1
answer
5k
views
Vue is not mounting and getting no error messages
I have created a project using vue-cli@4 and its working fine but I have done some changes in main.js and it is not working anymore.
//main.js
import Vue from "vue";
import App from './App.vue'
//...