Skip to main content

All Questions

Tagged with
1 vote
0 answers
23 views

Vite.js Failed to resolve module specifier "external-library". Relative references must start with either "/", "./" or "../"

I have this issue when I build my application localhost/:1 Uncaught TypeError: Failed to resolve module specifier "lib-model". Relative references must start with either "/", "...
Topsgor's user avatar
  • 21
0 votes
1 answer
21 views

Universal way to use CommonJS in Javascript with ESM

ESM is the normalized way for module function in Javascript. But there are many CommonJs package in npm. Vite is good tools for change CommonJs to ESM, I want to use protobufjs in a vue project. The ...
Aklscc's user avatar
  • 11
0 votes
0 answers
20 views

Vite app build index.html shows a blank page

I am trying to deploy a Vite + Vue3 web app to a Flask server. The Vite app is configured like this : import { fileURLToPath, URL } from 'node:url' import { defineConfig } from 'vite' import vue from ...
Broot's user avatar
  • 53
1 vote
1 answer
71 views

How to minify json files while Vite build?

I have a project on Vite + Vue.js, and there are many large static reference files in public/data with .json extension. How can I minify them during build without turning them into javascript? I tried ...
Talleyran's user avatar
  • 111
-1 votes
0 answers
20 views

Is possible to get Firebase Notifications on a web that is embedded on an iOS app to receive notifications? [closed]

The Android app works, the same web embedded on iOS app gives me a blank screen (WKWebView). No errors The web is Vuejs - Vite Notifications with Firebase
Maximiliano Sosa's user avatar
0 votes
0 answers
17 views

Vue Vite Vuestic Validate Rules on Nested Child Component

Here I have structure like this DivisiSalesForm.vue call Step1DivisiSales.vue call CompanySelect.vue The submit button is on DivisiSalesForm.vue and I want to validate all the input on ...
Josh Yehezkiel Nusera Parinuss's user avatar
0 votes
1 answer
50 views

I am getting a buffer error when using a Typescript RPC library in Vite, Vue

I am using a typescript library that does RPC calls for a blockchain. I am trying to use it in my Javascript and Vue project with Vite bundler. I have tried install polyfills, buffer etc but somehow I ...
artistAhmed's user avatar
0 votes
1 answer
21 views

Trying to build a lib working with VitePress, Vite build error: failed to resolve import "@siteData"

I'm trying to build a plugin(?) for VitePress, using Vite as the building tool. When I import and use it locally, it works fine. However, when I build the lib, errors occurred: [vite]: Rollup failed ...
typed-sigterm's user avatar
0 votes
1 answer
41 views

How to setup Laravel+Vuejs in Docker

i have some troubles to setup my app I'm using Laravel for the back and Vuejs for the front and all of this inside a Docker container in WSL I did a lot of research and can't find a solution to access ...
coon's user avatar
  • 1
0 votes
0 answers
24 views

Migrating from Vite to Rsbuild error: memory allocation of 42 memory allocation of bytes failed

I am using the Rsbuild official website (https://rsbuild.dev/en/guide/migration/vite) to migrate my current project from Vite to Rsbuild. Below is my config file and error message from when I run the ...
ha ha's user avatar
  • 1
1 vote
1 answer
75 views

How do I access vite `base` config in app?

I recently used the base config API in my Vite app for deployment reasons: // vite.config.js export default defineConfig({ plugins: [vue()], base: "/f2e/", }); The file structure, ...
iigmir's user avatar
  • 53
0 votes
1 answer
36 views

Can’t override the color of a button

Can’t override the color of the Vutify button <template> <v-app-bar app> <v-toolbar-title>Найти репетитора</v-toolbar-title> <v-spacer></v-spacer> <v-...
Vadim Yanyushkin's user avatar
0 votes
1 answer
52 views

Cannot find module or its corresponding type declarations for index.vue files

I modified my vite.config.ts so that it recognizes index.vue files as entry points. import { fileURLToPath, URL } from 'node:url' import vue from '@vitejs/plugin-vue' import { defineConfig } from '...
PyKKe's user avatar
  • 293
0 votes
0 answers
40 views

Vue router doesn't stay in the same page after page refresh

Here's the translation: I am working on a project using Vue^3.4.21, vue-route: ^4.3.0, and VITE ^5.2.8, and I have the following problem: if I am on the page /someanotherpath and press F5 to refresh ...
Kali's user avatar
  • 1
0 votes
0 answers
62 views

Vue, vite, can’t establish a connection to the server at wss, WebSocket connection to wss failed, 502 bad gateful, SSL

I have a Vue frontend that I deploy using a Docker container. My configuration looks like this: vite.config.js: ... plugins: [vue()], server: { port: 8080, host: '0.0.0.0', https: { key: ...
parsecer's user avatar
  • 5,042

15 30 50 per page
1
2 3 4 5
91