Skip to main content

All Questions

Tagged with
0 votes
1 answer
134 views

Compilation Error Due to Incompatibility Between Prettier v3 and @vue/eslint-config-prettier v7.x

Updating prettier to version 3 has lead to the following error during the compilation: > 1 | [object Promise] | ^ 2 | export { render, staticRenderFns } at constructor (/xxx/node_modules/@...
Shayan Sh's user avatar
  • 105
0 votes
1 answer
572 views

Vue 2 build with docker - sh: vue-cli-service: not found

I want to build a vue 2 app with docker, but got sh: vue-cli-service: not found error. For serve, I have another docker files and everything there is fine, but in build I got this error! Dockerfile # ...
Pooria Sadeghy's user avatar
0 votes
2 answers
681 views

'npm run serve' is not initiallizing project in browser

I am running 'npm run serve' command to execute my vue project in browser . But it is not giving any output or error it just keep running enter image description here it just stucks here only I have ...
Hafsa Shaheen's user avatar
1 vote
1 answer
696 views

Vue 2 Cli CSP Build Issue - Eval & new Function Problem

Due to CSP Requirements I have had to convert a static vue application within the Vue 2 CLI environment. After reading a lot of online documentation I am aware that for CSP compliant vue you need to ...
JRecNZ22's user avatar
2 votes
1 answer
73 views

Vue build for specific mode is ignored if using lerna run

So I have a vue project with this script in the package.json: "build-test": "vue-cli-service build --mode test" In the project, I have .env and .env.test files. Now, everything ...
Haim's user avatar
  • 358
0 votes
0 answers
297 views

Reduce size of Vue component library in Nuxt App

our Team created a custom Vue component library with ~50 Vue components using the command: vue-cli-service build --modern --target lib --name theLibrary src/main.js and this main.js: import Vue from '...
L.Nightman's user avatar
1 vote
0 answers
328 views

How to fix YoutubeApi error message: preload problem and postMessage

Has anyone encountered this problem? Use Vue-cli to develop multi-page case --------------- Test browser version: google chrome 103.0.5060.134 version dependencies : { "vue": "^2.6.11&...
Lynne's user avatar
  • 11
0 votes
2 answers
419 views

I cannot npm install with just created vue2 + vuetify proj

installed latest vue/cli and created project using vue2. After this, I added vuetify and thats all for additional to basic vue2 template list of packages. When I have tryed to use 'npm install' Found: ...
KSDev's user avatar
  • 31
11 votes
3 answers
9k views

jest ReferenceError: Vue is not defined

We are introducing Jest to an existing project. However, I wrote an example test code. The above error occurred. ReferenceError: Vue is not defined 1 | import User from "../components/...
김정수's user avatar
  • 841
0 votes
1 answer
167 views

VueJS 3 changing background on clicking a container

Below is my code, I want to change background and text color on clicking the container that has a tailwind class of h-36. Can any one help me and come up with a solution to that issue. <...
Denis Mulindwa's user avatar
0 votes
1 answer
1k views

Uncaught TypeError: window.Vue.use is not a function in Vue 2

I have a project working with Vue.js for a long time. Recently an error appeared without me doing anything: Uncaught TypeError: window.Vue.use is not a function at eval (vue-router.esm.js?8c4f:...
Jader Abreu's user avatar
3 votes
1 answer
480 views

Vue3 webcomponents production build problem

I'm trying to migrate my vue2 webcomponent to vue3, although the problem comes when i'm creating a build for production. I was using the vue-cli with --target wc which now displays an error stating ...
Ana's user avatar
  • 120
3 votes
0 answers
645 views

Hot Module (HMR) doesnt work when config ModuleFederation, [email protected]

I was looking into Webpack 5 Module federation feature, fortunately, it works in my project, but I have some trouble understanding why my Hot Module Replacement(HMR) does not work, errors: Uncaught ...
null's user avatar
  • 31
0 votes
1 answer
667 views

VUE Web component inside legacy app results in error "_Ctor, object is not extensible"

I'm having trouble importing my custom component in my legacy app. I pre-compiled my SFC as a webcomponent with vue-cli builder, and I import inside my main.js file this way : import * as HelloWorld ...
Shikate's user avatar
  • 31
0 votes
0 answers
288 views

Why am I getting "$attrs is readonly" and "$listeners is readonly" errors in the child component of the external library?

Why am I getting "$attrs is readonly" and "$listeners is readonly" errors in the child component of the external library every time something is updated in the parent component ...
Colibri's user avatar
  • 1,205

15 30 50 per page
1
2 3 4 5
17