Category "vue.js"

How to use routing in vue js?

I am working on a vue js project, to use the router , I installed via command -> npm install vue-router and created a router.js file , but when i try , npm r

how to have external link in require() in <img> tag src

I have the exact same problem as this question: Linking to images referenced in vuex store in Vue.js However, unlike the question, I have external link for src

Here i have a toggled the div but i want to toggle on perticuler div not all

First picture without clicking on edit button Second picture when i click on edit button So here i want is when i click on which ever divs edit button at that p

VUE -axios GET does not execute

My vue porject use axios to send HTTP request. There is no problem running on Android. When running on IOS, occasionally the HTTP request is not sent. But not e

How to load a Font from node_modules with Vite?

I'm trying to load a company font from a node_modules folder which only includes fonts and icons, it was working locally. At first, I thought it was because Vit

How can I register a component in <script setup>?

How can I register a component in <script setup>?

How to write mutations in Vue-Apollo using Graphql-Neo4j as backend

I am stuck with the Vue-Apollo documentation: How to send mutations to my grahql-node4j server backend. For some reason the querying part works but I can't muta

How to setFocus on Next button press event in Ionic-vue app?

I’m having difficulties trying to change focus from one input to another by pressing the next button in android/ios keyboard since there is no example for

Axios getting blocked by laravel 7 cors. No "access-control-allow-origin-header"

I've a backend app working with Laravel 7 and a frontend which works with VueJs. My Laravel app is running on laradock (nginx, postgres etc...) Using Postman th

This policy contains 'unsafe-inline' which is dangerous in the script-src directive

Our Vue js website contains dynamic url of css and src by different environment. Each environment have different domains. So the Content-Security-Policy contain

Vue draggable. Prevent drop on specific node and allow drop on specific node

<draggable class="nodes-to-drag" v-model="arrayToDrag" group="people" @start="drag = true" @end="drag = false" item-key="id" > <tem

how to run a vue js 2 app with pm2 library in linux(RHEL)?

I have a vue js app, which i run it locally with npm run serve command. I am trying to run it in a development linux ( RHEL) box with pm2 library, but it doesn'

Add new root base definition for Pinia

I have added axios to my Pinia store in a Quasar's boot file export default boot(async ({ app, store, ssrContext, router }) => { const api = axios.create({

v-menu background become transparent and overlay navbar Vuetify

I am making a Facebook's notification component using v-menu & v-list. I set height of v-list to 300px because if not, the list will stretch height to show

Is it possible to use a frontend framework only on one page in an already finished project?

I'm working on a project where I need to make a dashboard as a homepage like this https://www.grapecity.com/wijmo/demos/reference-samples/DynamicDashboard/angu

Vue Stylus Sass Variables

After integrating stylus into my Vue3 application, my global css variables no longer work (loaded through prependData as mentioned here). Old, working code (no

Vue.js page inside iframe not showing on Firefox

We have a Vue.js page contains a Echarts pie draft, and we want to show it in another project, which is using jQuery. It shows perfectly both on Chrome and IE,

Display Image From Database To Browser With Vue.js

<!-- SLIDER --> <div id="slider"> <div class="tp-banner-container"> <div class="tp-banner"> <ul>

How to return state data from vuex action in components

I have an action that fetches data from my database, I assign the response from the request to various objects/variables in the state in my vuex store, this act

Show key as localization | Vue i18n

Is there any solution to display the keys as localization? I red in the documentation that I can create decision maps for fallbackLocale and my approach was to