'yarn serve' seems to run in the wrong directory

I have a Vue.js project that I've written. I've copied the files to a new PC and now 'yarn serve' fails when run from the project directory I get the error multi (webpack)-dev-server/client?http://192....

Import composition api

Supposed I have index.ts import { defineComponent, onMounted } from '@nuxtjs/composition-api' const Todo = defineComponent({ setup() { onMounted(() => { test() }) function ...

Close actual window with Vue.js

Using JS I can close the actual window using close method. <html> <head> <title>Ventana Secundaria</title> <script> function cerrarse(){ ...

Vue/composition-api ref only 1 level deep

I know that with ref you have an object/array/primitive reactive, and if it was an object or array it is made deeply reactive. And with shallowRef you can have only the variable itself reactive but is ...

Polyfill node os module with vite/rollup.js

I'm working on a Vite project which uses the opensea-js package. This package depends on xhr2-cookies. which imports os, http, https and some other internal node modules. I'm getting this error when ...

Dynamic Meta for Nuxt.js

Can anyone help with a situation regarding meta info with dynamic data. Problem We are using Nuxt and generate our static page using npm run generate, and have identified several problems with this ...

Ionic performance slow older devices

I've built an Ionic 5 (with vue 3) app that uses BLE to measure airflow of an bluetooth airflow device (mainly Wöhler products). These products constantly send out a reading of airflow measured. The ...

Vue JS composition API can't access array

I am currently trying to learn Vue JS without ever having encountered Javascript. All the brackets, arrows, etc. are driving me crazy. With the Composition API, I come across a question that I can't ...