Skip to content
Advertisement

Tag: vue.js

Use HTML entities in my block in Vue.js

I want to use the HTML-Symbols &#9650 and &#9660 that stand for “arrow up” and “arrow down” in the <script> section of my Vue.js component. I know that something simple as the following doesn’t work. But I tried different functions that I found on the internet and nothing worked. Answer There are two ways to achieve this : Use v-html

How to put variable in span or v-tooltip tag?

I’m using vue 2 with vuetify 2 and there’s occured a problem with displaying data from table. When I’m adding curly braces between v-tooltip tags I’ve getting blank page. Code example below. So I want to display that data from my list like I did in the rest of the code where’s isn’t a span and v-tooltip. adding more code

TypeError: this.$refs is not a function

So I have a problem with VueJs. I created a “Confirmation Dialogue” and added it to a On-Click-Event on buttons. It worked fine. Now I tried to copy the implementation to add it to another button on a different parent. It says “TypeError: this.$refs.confirmDialogue.show is not a function” in the Console whenever I try to click the button. The other

How to display Data from PocketBase to VueJS 3

Good day! How do I display all data from PocketBase to VueJS 3 Still new to Vue, Idk why it displays only one data. Tried using v-for but it causes render errors. Any solutions to this? Thank you. Answer With you are overwriting post, so at the end you have one value. Try like: and then use v-for to show

NuxtJS automatically adds script at the end of the body

I’m a newbie NuxtJS programmer. I just searched all over the internet but couldn’t find the answer. I’m just wondering that is it natural that NuxtJS automatically adds the script at the end of the body described as below. Everytime I change my page, it keeps adding this script, so it stacks the same script over and over. Do you

Advertisement