Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
61 views

How to import Vue multiselect in plain js file without CLI

I wanna import vue multiselect in my Vue app which I made withhout cli. it's plain js and all the content are in my html. but I cannot import libraries like Vue Multiselect :( In HTML: <body> &...
Sanaz Baghban's user avatar
0 votes
0 answers
216 views

Vue Js Linking pages is not displaying anything

I am trying to link pages together in my Vue application and it is not displaying anything. I am not using vue-router but a a method in which I define my pages in a vue.config.js in my project folder. ...
Brayden de Koning's user avatar
1 vote
1 answer
679 views

Vue Js child to parent custom event

I'm actually struggling quite a bit about transmitting info between a child component to a parent component in a Vue-js-2 cli project. So I have a popup modal that appears when a data is true <...
EdouardHrgt's user avatar
0 votes
1 answer
1k views

Reload vue-owl-carousel after dynamic data update

Initialized a vue-owl-carousel using dynamic data <script> import carousel from 'vue-owl-carousel' export default { components: { carousel }, } <carousel :items="1"> &...
Nj_96's user avatar
  • 116
0 votes
1 answer
606 views

VUE Web component inside legacy app results in error "_Ctor, object is not extensible"

I'm having trouble importing my custom component in my legacy app. I pre-compiled my SFC as a webcomponent with vue-cli builder, and I import inside my main.js file this way : import * as HelloWorld ...
Shikate's user avatar
  • 31
1 vote
1 answer
346 views

Architecture for plugins with combined frontend/backend functionality (Vue and Express)

I have a single repo that has a Vue CLI generated frontend application and an Express backend application. The repo is setup as a standard Vue CLI app, with a top-level backend src folder. The Express ...
bazaars's user avatar
  • 488
1 vote
0 answers
300 views

Vue CLI component style tag NOT scoped not applied in Rails CSP error

I have a Rails app with Vue. When I try to add something in the <style> tag, it does not get applied. It is also not visible in the rendered HTML. I do not have the css-loader in my dependencies ...
Nicole's user avatar
  • 127
1 vote
1 answer
288 views

How to pass prop from parent component in html to component vue

I made this using vue-cli. I have a component called InputField, and I render and mount the component to #app. I know that it will inject the component to the app, but how can I get the "default&...
defs's user avatar
  • 21
1 vote
0 answers
193 views

Passing data from child component to parent and then to another child not working on page load but works after minor potentially unrelated change

I am new to Vuejs and come across this bug which I have no idea what I have done wrong. I am not receiving any console errors. It doesn't work on initial page load but it seems to work after I comment ...
kandi_galaxy's user avatar
1 vote
2 answers
2k views

How can i have component render without App.vue

I’m trying to use vue-cli for app, but i wonder can i use component without using App.vue ? Here component is shown in html but when i click the button, the testFunction in component is not called ...
kili's user avatar
  • 33
1 vote
1 answer
906 views

How to install Vue Hooper slider properly?

I've been learning Vue.js 2 for a few weeks for my app and I don't want to use Bootstrap carousel because of no built in swipe functionality. So I'm trying to use Vue.js slider like Flickity and ...
Daniel Bristol's user avatar
1 vote
1 answer
942 views

Invalid Component definition when trying to register my component

I can't get my components to work in Vue CLI. My file structure is as follows I'm trying to use GameHub and GamesAdmin as components like so: <template> <div> <game-admin v-...
Matrix's user avatar
  • 456
1 vote
2 answers
2k views

Vue.js import child component into a component

Today I am making an todo web app, but now I want to import a Todo in my Todolist component. My components: App (Parent) --> Todolist (Child) --> Todo (Child) Error: 24:5 error The "...
Valdemar Vreeman's user avatar
34 votes
5 answers
154k views

Vue 3 - "Failed to resolve component" with global components

My Vue components work fine when declared in the top level HTML file, like this <body> <div class='app' id='app'> <header-bar id='headerBar'></header-bar> ...
Richard's user avatar
  • 16.2k
1 vote
2 answers
1k views

How do I use Vue.component with modules or Vue CLI?

I'm stuck on how to declare Vue.component inside export default this is from the tutorial by vuejs.org instead of using var app = new vue, I use export default { name: "App", el: &...
Eranda Dava's user avatar

15 30 50 per page
1
2 3 4 5 6