Skip to content
Advertisement

Tag: vue.js

Why does displaying text inside the document via transform: translateY(-100%) create extra white-space at bottom of page?

Put very briefly I wrote a vuejs component that includes a small icon that displays some text when being hovered over. I created a minimal example here: https://codesandbox.io/s/sweet-jackson-v0kgc?file=/src/components/ShowBox.vue:115-136 The special thing is: when the icon is at the very bottom of the page the text is displayed above the icon instead of below such that the page does not have

Class import produces undefined

I’m working on a Vue app and trying to build some helper classes: file a.js: file b.js: file c.js: When I import Middle it is undefined and giving me Uncaught TypeError: Super expression must either be null or a function on the line of extends Middle I’ve also tried Which should not make a difference as far as I know

How to use swiper breakpoints in Vue Js

Good morning, I’m making a site using VueJS for the frontend, I have installed SwiperJS via npm for Vue to make sliders. It works fine but i’m not able to make functioning breakpoints to have a responsive number of slides. I used this code to make a responsive post section that has all 4 posts showed in the PC view

THREE.js obj not loading in vue

I’m really confused about the way vue and THREE.js work together. I am using the exact same obj, once in a plain js environment – where it works perfectly fine – and once in vue.js, where the canvas stays empty and the dev console shows several warnings. The code I used in js is the exact same as in vue

How to download a vue file as pdf file in vuejs?

I have a vue as below which I want to download as PDF when I click on a button in main_component. Please help me find a way around to do so. download.vue main_file.vue Answer You can use the Javascript window.print document method and import your download.vue component into main_file.vue component and then pass the innerHTML of download.vue component by using

Advertisement