All Questions
172
questions
0
votes
0
answers
35
views
How to create a standalone embeddable script from an internal Vue component?
I have a Vue application, and within, I have a component, which I reuse throughout the app. It's located in src/components.
I'd now like to make it so this component can be embedded into other ...
0
votes
0
answers
30
views
Vue3 Openlayers + webpack = can't resolve modules
webpack fails to resolve modules dependencies when compiling
I got 94 erros like this:
ERROR in ./node_modules/vue3-openlayers/dist/vue3-openlayers.es.js 63:0-41
Module not found: Error: Can't resolve ...
1
vote
1
answer
57
views
When running npx creat-vue gives me an error message, and can not create-vue app
I am trying to create a vuejs aplication using npx, but the npx create-vue app command line it gives the error below. The node version is
v12.22.9 and the npm version is 8.5.1.
> home/myuser/.npm/...
0
votes
0
answers
32
views
Options method not allowed - Node-Server with express.js
I generated a server stub with Swagger, added my business logic and now I got a big problem.
When my frontend (Vue) sends a post request, i always get the message "OPTIONS method not allowed"...
0
votes
1
answer
732
views
error AggregateError [ECONNREFUSED] at internalConnectMultiple (node:net:1116:18) on yarn install in vue3 project
I'm trying to run yarn install in a Vue project and I receive this error:
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
error AggregateError [ECONNREFUSED]:
at ...
0
votes
0
answers
181
views
How to configure development build and DevTools for vue 3 on vite
I recently migrated an existing Vue 3 project from Vue CLI to Vite.
There's an issue with the app that's specific to a situation happening in production and there's no error in Chrome DevTools console ...
0
votes
2
answers
371
views
Using vite, how to execute a custom build command once any file has been changed
I'm using vite + typescript + vue3, and there is a command build like below.
I want to trigger the build command once there is a file changed, how can I achieve it besides manually installing the ...
0
votes
0
answers
28
views
How can I pass an entire URL, with filenames and query parameters, as a single prop in Vue Router?
I'm working on a website that essentially functions the same as the Internet Archive's Wayback Machine, storing backups of entire websites. The Wayback Machine's URLs for backups look like this:
https:...
0
votes
1
answer
47
views
Post request not working, get and delete do with Express JS and Vue
I'm following this tutorial to get a basic app setup and everything is working great for me expect the post request and I'm out of ideas.
Tutorial: https://www.youtube.com/watch?v=HkIGAqAP1GY
This is ...
0
votes
0
answers
40
views
How to deploy and use a nodejs api in a vuejs app on cpanel hosting
I used vite to build my vuejs application for production, but it works with a nodejs api offline. I'm not entirely sure how to run the same "node command", while on a live server that allows ...
0
votes
0
answers
42
views
how do I fix the issue of "requested modulr not providing an export named 'default' in vue composition API?
Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/firebase_app.js?v=86b530de' does not provide an export named 'default' (at db.js:1:8)
I was trying to connect to the firebase real ...
0
votes
0
answers
57
views
Implementing 'sliding' pagination
I'm attempting to implement pagination with "sliding" behavior. I want to display a maximum of 4 pages (regardless of window width, so that all 100+ pages won't show up on mobile screen), ...
0
votes
1
answer
133
views
How to load vue in production mode when using vue.esm-bundler.js?
I'm using Vue 3 with webpack, and loading it with vue.esm-bundler.js, because I have in-dom templates.
Docs say that with a bundler, "Leaves prod/dev branches with process.env.NODE_ENV guards (...
2
votes
4
answers
1k
views
New Nuxt3 app is throwing undefined error relating to Nitro proxy
I have been working on Nuxt2 for a while, and so I thought I would give 3 a try. After I finish the installation instructions found here: https://nuxt.com/docs/getting-started/installation I am ...
0
votes
0
answers
13
views
Auth0 with additional api authentications
I have an implementation question I'm hoping someone would be able to shed some light on. Hopefully the following is descriptive enough.
Basic Overview:
I have created a web app that uses Auth0 for ...