Category "vuejs3"

How to get current component name in vue js 3.0

I can get component name in vue js 2 by: this.$options.name. How to get it in vue js 3? Thank you.

How to get current component name in vue js 3.0

I can get component name in vue js 2 by: this.$options.name. How to get it in vue js 3? Thank you.

How to implement loginRedirect using vuejs and azureb2c and msal.js

I'm trying to implement an SSO using Azure b2c and Vuejs and MSAL, but I'm getting some issues. msalConfig: { auth: { clientId: "******dd03",

There are two elements in <template> when I creat a new Vue3 project, and my VScode warning

Guys i'm in the transition from vue2 to vue3. As i know in vue2 you can't put more than One element in <template></template> But when i create a n

Vue3 - Ace Editor on v-model change

I am using Ace Editor with Vue3: <v-ace-editor v-model:value="currentRecord.prompt" lang="json" theme="textmate" style="height: 100%;" :o

vue.runtime.esm-browser.js does not render Vue 3 components

I created a vue 3 project using Vue cli. I am using a webpack config to manage my build. When I point my vue bundle to vue.runtime.esm-browser.js, then I get a

What is the proper way to pass a reactive pinia state as axios params?

I am trying to use two pinia stores for my axios params but when I send the axios request, the state is sent as a whole proxy object. stores/product-filter.js i

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

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

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

problem with vue3 animation when using dynamic component

I want to add animation for two components , this is my code : let activeComponent = ref('Login') </script> <template> <Transition name="fad

I can't import qs in vite

I use vite, ts and vue3. Now I want to use qs.stringfy() to build a url's query, but it panic. I use yarn add @types/qs to add qs. My code like this import

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

Firebase / Firestore Add Document to Sub collection Version 9

Some reason, I just am not getting it. I want to add a new document to a sub-collection. Here is my layout as follows: Users----------- Collection UID--------

How to use Axios with Vue 3 Composition API

I am attempting to build a Pokemon filtered search app with Vue 3 and Composition API based on the following tutorial: https://www.youtube.com/watch?v=QJhqr7jqx

Vuejs3, Vite - How to run Production Build

I'm trying to run a simple vue.js app. My setup is a vue.js 3 app with vite, built according to the tutorial on the official website. (https://vitejs.dev/guide/

HMR doesn't work since the vue cli plugins update (v5)

Version 5.0.1 Reproduction link github.com Environment info Environment Info: System: OS: Linux 5.13 Ubuntu 20.04.4 LTS (Focal Fossa) CPU: (12) x64 I

Pinia w/ Vue3: Using Actions in template returns funcName is not a function

Using a Pinia action from within the template in Vue3 gives Uncaught TypeError: $setup.[storeName].[actionName] is not a function Am I doing something wrong o

vuex state not updating UI on change

I am in the process of converting a vue2 to vue3 project and noticed my UI isn't updating when objects from my vuex store are updating. Here is how I create my

Web3js fails to import in Vue3 composition api project

I've created a brand new project with npm init vite bar -- --template vue. I've done an npm install web3 and I can see my package-lock.json includes this packag

How to debug Vue 3 Vite while on lan --host

How can I debug while using --host option on Vue 3 Vite so I can debug my phone instance for example. At the moment Im using visual studio code plugin "Vite" la