Skip to content
Advertisement

Tag: vue.js

How to embed button with Vue code into cell inserted with insertCell()?

I have Vue component with a table with users data: The button in the last <td> successfully deletes worker from the table. Function toggleChildWorkers insert new rows with child workers and delete (hide, actually) them like this: As you can see, I’m trying to embed buttons in the new cells of inserted rows (blue ones). But they are not displayed

Having a hard time changing background color in Vue js

I’m trying to make the background color of the landing page orange, but the issue is that what I currently have makes all the pages orange. I tried adding scoped to the landing page so it would style only that page, but when I do this, the entire page isn’t orange anymore. The end goal is to only affect the

Vue 3 i18n issue: The message format compilation is not supported in this build

vue & vue-i18n version ex: vue: 3.0.0.0 vue-i18n: 9.0.0-beta.15 Description I am probably doing something very wrong, however I would really appreciate some direction. I followed documentation from vue-i18n@next. Translation does not work and I get message in console: [intlify] The message format compilation is not supported in this build. Because message compiler isn’t included. You need to pre-compilation all

Render vue component in data

I trying to make custom tooltip for apexcharts like in example: https://apexcharts.com/docs/options/tooltip/# and it’s works, but when I set in return some vue component nothing shows. Why is this happening and how to fix it? Answer To make Vue render the component correctly, you’ll have to tell it to in the custom tooltip function: If you need data or other

Vuex Store Object Child returns undefined, parent returns properly. Why?

I’ve seen some similar questions but they don’t seem to match my situation. When I log this.$store.state.account I get the expected result However, when I console.log(this.$store.state.account.user) the user object disappears! All of the nested properties inside user return undefined though they log perfectly fine above console.log(this.$store.state.account.user) This is the method inside my component calling the object this is the action

Advertisement