Questions tagged [quasar]

Quasar can either refer to 1) an open-source Vue.js based framework for building Web / Mobile / Desktop apps, or 2) Java library that provides threads, actors and channels for the JVM

887 questions
4
votes
1 answer

quasar vuejs amplify Error: 'request' is not exported by __vite-browser-external,

Purpose: Upload images from quasar project to aws amplify storage. Installations : aws-amplify library for quasar and vuejs. => aws-amplify uses @aws-sdk for built in. Once this code is added : import { Amplify, Storage } from…
belhadj haythem
  • 622
  • 2
  • 6
  • 16
4
votes
1 answer

How to use Quasar Framework and/or Vue3 with Bun.js

Using the "bun create..." command, I could create a "react" and also "next" project. It was straightforward following the instructions on the bun.js git repository. How can I use "Quasar Framework" and/or "Vue 3" with bun.js? "bun install -g…
Thiago Araujo
  • 149
  • 2
  • 14
4
votes
0 answers

How to include an axios interceptor in Quasar

I am currently working on a Quasar app that uses axios library. User is authenticated as usual by a token that, when expired, has to be renewed using a renewal token. I need an axios interceptor to filter status 401 so that I can ask for a new token…
4
votes
2 answers

Quasar 2 Vue 3 "ReferenceError: process is not defined" error

I bump into ReferenceError: process is not defined error for my Quasar 2 application deployed to firebase. Howver, running it locally with quasar dev does not see the error. Any advice and insight is appreciated.
4
votes
3 answers

How to use Tailwind CSS with Quasar framework?

I have been trying to use Tailwind to custom the Quasar components, but the Quasar CSS has been overwriting most of the Tailwind CSS. I added a prefix to my tailwind.config.js and my Tailwind classes are prefixed with tw- like in the example…
Mac
  • 43
  • 1
  • 5
4
votes
1 answer

How to use Quasar 2 with AWS Amplify?

I have created the following boot file for Quasar in src/boot/amplify.js and added 'amplify' to quasar.conf.js: import Amplify from 'aws-amplify'; import awsconfig from '../aws-exports'; import { applyPolyfills, defineCustomElements, } from…
Jack
  • 378
  • 5
  • 11
4
votes
0 answers

Quasar (Vue.js) q-form does not validate input in child component

I use Quasar's (Vue.js) q-form with inputs that need validation e.g. required. I need to make a reusable Vue component with multiple inputs, making the site more consistent and easy to maintain. When I use Quasar's q-input (text2) in the same Vue…
CodeAlike
  • 169
  • 3
  • 14
4
votes
1 answer

Quasar: how to display an image when using q-file to pick the image?

New to Quasar & Vue. I am using q-file which allow pick file & drag to drop file. However, how do i display the image for preview? Q-uploader seems work but how do i change the ui of it? Link to component from…
Ccc
  • 105
  • 2
  • 8
4
votes
1 answer

Cordova: Not allowed to load local resource: file:///

Cordova build running on Quasar is giving error Not allowed to load local resource: file:///data.... Added below to the config.xml Also added the content-security-policy in…
Anand Tripathi
  • 14,556
  • 1
  • 47
  • 52
4
votes
3 answers

Accessing to store in the router

I would like to check in my Vuex store whether a user has the 'admin' role before entering the /dashboard route. But I can't properly access data from store.getters. I use Quasar (Vue.js) and Vuex + Typescript. In the routes.ts file, on the…
Jer
  • 183
  • 3
  • 13
4
votes
2 answers

Trigger Quasar QBtn click using vue-test-utils / jest

I am trying to simulate a button click of a quasar QBtn component in Jest(using vue-test-utils). I need to test if the @click method gets called when the button is clicked so I did the following it("Expects createAccount to be called", async () =>…
myoda999
  • 335
  • 2
  • 11
4
votes
3 answers

Deploying Quasar with Firebase Hosting

I'm having trouble deploying my quasar project to Firebase. It says the deployment was successful, but after two hours, this is what shows up on the webpage. firebase.json "hosting": { "public": "dist/spa", "ignore": [ "firebase.json", …
JSON K.
  • 131
  • 1
  • 7
4
votes
0 answers

Reverse proxy in XAMPP ( on Windows ) to listen to internal port 3000 ( Node js server )

First of all I am going to describe how my app works. I have a Vuejs powered ( using Quasar ) for the Front-End that needs to use SSR, so it will run on the server and as for the Back-End I am using a Laravel only as an API. I am developing a SSR…
John Doe
  • 571
  • 1
  • 9
  • 26
4
votes
3 answers

How do I use require('electron') in a quasar vue component environment?

How do I access the main electron process fs module from within a renderer side module like a vue component running within the Quasar framework. I've tried a few variations in a component with the following error: const { app } =…
sday
  • 1,041
  • 14
  • 22
4
votes
2 answers

Pass a variable on a function inside v-on:click or @click (Vue.js)

I'm developing a system with vuejs right now. I would like to know if how am I going to pass a variable value inside v-on:click or @click? this is my code: The props.row contains an object with a key of '_id' and what I want to do is to pass that to…
Sean Cortez
  • 127
  • 2
  • 2
  • 7
1 2
3
59 60