Category "vue.js"

Error text is cut off when generated to PDF in nuxt.js + @nuxtjs/tailwindcss

Error text is cut off when generated from HTML to PDF with Vue-html2pdf in Nuxt.js when use @nuxtjs/tailwindcss although when show layout then everything is nor

Returning Promises from Vuex actions

I recently started migrating things from jQ to a more structured framework being VueJS, and I love it! Conceptually, Vuex has been a bit of a paradigm shift fo

Vuejs/Nuxtjs Unable to scope the styles to specific component when used with @import?

I am developing an application using Vuejs/Nuxtjs. I would like to import some styles from the external CSS file and would like to include those styles only to

webpack creating 100's of js chunks crippling performance for a single page view with vue cli

We have a vuejs 2 project. We needed some function of dayjs. We abstracted the dayjs into a single utility file and following the guide ended up with this: impo

How to create a build for multiple environments in Nuxt?

I am building a Nuxt application where I will have two environments staging and production, the local should also be considered as staging, now I need to create

update DOM only after submit form vue.js

I have a form with two checkboxes. each of them are related to an object to change its props 'is_active' on true or false. on click, DOM updates immediatly : if

Deploy VUE application on IIS [closed]

I'm trying to deploy a VUE frontend application on IIS. The routing is working fine in dev mode, however, something seems to break in the rout

vue cli - Uncaught SyntaxError: Unexpected token <

I create my project with vue-cli 3.0. Initially it runs ok. But after I <ctrl>-c then npm run serve again, it keep throwing error: Uncaught SyntaxErro

fontawesome error "Could not find one or more icon"

I followed https://fontawesome.com/how-to-use/on-the-web/using-with/vuejs. But when use it like: import { library } from '@fortawesome/fontawesome-svg-core' i

How do I implement custom error pages in NuxtJS 3?

I'm trying to get my NuxtJS 3 app to show custom error pages. The app is universal with SSR. The NuxtJS 2 docs say to add a layouts/error.vue file and it should

how to add @carbon/type in nuxt

Im using @carbon/vue in a nuxt application and have created a plugin which i registered in my nuxt.config.js file. I am now trying to incorporate @carbon/type f

Passing props to Vue.js components instantiated by Vue-router

Suppose I have a Vue.js component like this: var Bar = Vue.extend({ props: ['my-props'], template: '<p>This is bar!</p>' }); And I want t

vue 2 [GSI_LOGGER]: The value of 'callback' is not a function. Configuration ignored

I'm trying to put a google sign in button inside my Vue2 project, so I tried to follow the instructions here https://developers.google.com/identity/gsi/web/guid

Reevaluate Nuxt.js middleware without a route change

I'm wondering if it's possible to essentially "reevaluate" the middleware conditions without actually changing the current route. The middleware's purpose is to

I want to generate page as a single pdf file without page break

Hi i want to generate a pdf of big page as one single file without page break. Below image shows page break upon download(that i want to avoid

Error on text-to-speech api : ReferenceError: speechSynthesis is not defined

I'm making a program in quasar framework (who works on vue and can be compiled on mobile by cordova). And i'm having some issues to run it on mobile. here's the

How to use vue router and vuex inside custom element from root?

I have project with nested custom elements. Now I need to vuex & vue router. How I can use this packages from root custom element and then use in all child

How to correctly declare static refs in Composition API using Typescript?

I am using the Composition API (with <script setup lang='ts'>) to create a ref, used in my template: const searchRef = ref(null) onMounted(() => { sear

What is causing Error: .eslintrc.js: Environment key "vue/setup-compiler-macros" is unknown

I am developing a sample app using Vue 3 and Typescript. Specifically, I am using the new Vue v3.2 setup option in the section of the Vue SFC. Vue docs advise

Vue: Cannot find module (image) in the file

I wrote a line which shows a picture like And my asset folder is structured as Yet this is throwing Solutions I've tried: Tried using . Still the same