693 questions
0
votes
1
answer
26
views
Why compiling occurs when making minor code changes while running npm run serve
Why does it compile when making small changes to the code while running
npm run serve
, and is this behavior normal? I would like to know if the server should recompile for every change, even if it ...
1
vote
0
answers
10
views
With Webpack bundling how to either import a file dynamically or not, depending on some process.env.VARIABLE
I would like to be able to tell the webpack bundler to import some file right away if process.env.SOME_VAR evaluates to true and to lazy-load (dynamically import) that file otherwise.
Something like ...
0
votes
1
answer
207
views
vue cli 3 ignore background image urls
Is it possible in vue cli 3 with typescript to ignore background image urls when compiling scss files? I am writing a SPA which will sit as a page inside a parent site and all the background images ...
0
votes
1
answer
396
views
Forbidden: /api/v1/token/logout/ "POST /api/v1/token/logout/ HTTP/1.1" 403 58
I am experiencing this problem following a tutorial and I can't identify the error in my "MyAccountView.vue" page. I tried changing to re_path and it did not work.
Forbidden: /api/v1/token/...
1
vote
1
answer
130
views
The current path, api/v1/users, didn’t match any of these
I am experiencing this problem following a tutorial and I can't identify the error in my "SignUpView.vue" page. I tried changing to re_path and it did not work.
Not Found: /api/v1/users
[...
1
vote
0
answers
364
views
ValidationError: Progress Plugin Invalid Options when compiling vue project
I am getting a nugging error message when trying to complile my vue project. This is the error message
ValidationError: Progress Plugin Invalid Options
options should NOT have additional ...
0
votes
1
answer
54
views
Vue/Cli Build custom Js
When I build with Vue/Cli, can I extract the files I want with the name I want?
main.js;
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './...
0
votes
0
answers
69
views
How to continue processing css files after the css-loader of vue-cli?
In the vue-cli webpack chain, I want to change the compiled css source code. For example, I need to change the url reference suffix of png in all the background in the css file to webp. I write a ...
1
vote
0
answers
236
views
allow optional chaining in vue by correct configuration of babel
I have vue project and i have installed few packages. When I do npm run dev it throws error for adding appropriate loader.
It seems like packages I have installed have `optional-chaining code and ...
0
votes
1
answer
643
views
"vue running in developer mode" warning appears even when running in production mode
I am running vue in production mode but i still get the warning of vue running in developer mode
the project is running fine and i can see that it running in production mode. but i am still getting ...
0
votes
1
answer
301
views
vue3-electron production build facing webpackJsonp not defined problem
I'm trying to build an electron app from a vue-cli3 project. The vue project itself works fine both in development and production. Everything works as well if I run a dev mode with npm run electron:...
0
votes
1
answer
7k
views
TypeError: Cannot set properties of undefined (setting 'message') in Vue
i'm new in Vue.js, so there are concepts that maybe i'm missing.
The thing is that i've been trying to do this for months, but i couldn't get a solution. What i'm trying to do is change the message of ...
0
votes
1
answer
324
views
How to use component with global register in Vue Cli3
This is my folder
+src
+components
+Logo.vue
App.vue
main.js
In my main.js I had been import the file
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
...
1
vote
1
answer
4k
views
Failed to resolve component in same folder Vue 3
I am using Vue 3 with class based components and Typescript. If I try to use a component inside another component I get this error:
[Vue warn]: Failed to resolve component: Button
If this is a native ...
2
votes
1
answer
6k
views
vue js import from node_modules
I am new to vue js and currently trying to import any vue plugin/component into other sfc .vue files for usage.
Currently I am using VS code with vue create project cli setup and in my main App.vue ...