All Questions
809
questions
1
vote
1
answer
33
views
Vuejs 2 & tinymce not working when importing from node_modules
I'm using tinymce editor and I'm trying to create a RichTextBox component in my vuejs2 project.
I'm having an issue however that the imports that tinymce requires are not working when trying to import ...
0
votes
0
answers
47
views
Not works single-spa-vue and webpack5
I have 2 applications for my single-spa
First application webpack.config.js:
{
mode: vars.webpackMode,
entry: options.webpackEntries,
experiments: {
outputModule: ...
0
votes
0
answers
71
views
How to exclude some vuejs components from being compiled with webpack?
I currently have a Laravel and Vuejs application in which I run the following commands when I need the build:
npm run dev
npm run watch
npm run production
It turns out that I compile everything found ...
0
votes
0
answers
51
views
Vue 2.7 + webpack: all variables inside debugger are undefined / null
We have a Vue 2.7 SPA at my workplace.
Nobody ever configured a dev build for it, nobody ever used a debugger (it's a docker-compose environment).
I'm currently implementing the dev build, and so far ...
0
votes
0
answers
27
views
How to output error messages from the console in the generation environment
I configured the removal of console in vue.config.js, but I want to rule out console error not taking effect
config.optimization.minimizer('terser').tap((args) => {
args[0].terserOptions....
0
votes
1
answer
116
views
Multiple 'You are running Vue in development mode.' & $attrs is readonly. / $listeners is readonly
Odd one here relating to Vue 2, I've had this issue once or twice before and solved it by finding the culprit that was importing the other instance/version of Vue to remove the $attrs/$listeners ...
0
votes
0
answers
46
views
Module parse failed when I use my customized loader
I am trying to learn to write a loader in vue2 project.
And I want to use this loader to add some attributes in some tag automatically before processing to vue-loader.
The code of my loader is:
module....
3
votes
1
answer
250
views
Dynamically importing dynamic components in Vue 2.7
Please note that this is a legacy Vue 2.7 codebase running on webpack, so any Vue 3 or Vite related solutions unfortunately won't work for me.
I'm reworking an old navbar that is dynamically generated ...
1
vote
1
answer
73
views
Components import error - Vue 2 with TypeScript - VS Code
has anyone had problems with TS pointing errors on custom components beeing imported to the .vue file - using the options api and webpack.
Basicly the import works fine, everything is visible and ...
0
votes
0
answers
85
views
Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js) webpack5 vue2
When building with Webpack 5, I encounter CSS-related errors.
Below are the versions of the packages and the Webpack configuration I have set up.
ERROR in ./src/style/index.scss (./src/style/index....
0
votes
0
answers
206
views
vue-virtual-scroller Module parse failing
Hello I have a strange error when trying to build my vue2 project.
I am using "vue-virtual-scroller": "^1.0.10"
I tried changing the version but I got the same error message.
...
1
vote
0
answers
96
views
Importing multiple vue.js components using promise.all()
I'm trying to import multiple Vue.js 2.7 components simultaneously, and this is my progress so far. However, I'm unsure if I'm correctly managing the asynchronous imports or just running everything in ...
0
votes
0
answers
29
views
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_redrawFromAutoMarginCount') [duplicate]
I am using vue-plotly 1.1.0in Vue 2 to create charts, but I'm encountering an error.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_redrawFromAutoMarginCount')
at ...
0
votes
0
answers
161
views
uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_redrawFromAutoMarginCount') vue-plotly
I am using vue-plotly 1.1.0 with vue2 to create charts, but it's encountering an error.
uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_redrawFromAutoMarginCount')
...
0
votes
0
answers
35
views
How to include the Vuetify2 library only once?
I have many of my libraries and they all use VUE 2 and VUETIFY 2, how do I include them only once in the parent component? I want to reduce the size of the included libraries.
Example vue.config of ...