done, and with pleasure

Best posts made by jpsala
-
RE: Opportunity to help us out spreading the word on Quasar
-
RE: Views on Vue 3
I think that here there is an opportunity, the community has been waiting impatiently for the new version of vue and I’m almost sure that, like me, more than one is postponing the start of some project to do it with vue 3. People in this situation, or some of them/as, will begin with the framework that’s available, just a thought, cheers
-
new here, trying to get advice about cordova in relation to quasar
new user here, hello all!
Can you give some advice on where to start reading some docs about cordova in relation to quasar?
My app is already in the store so I’m soooo happy, is in beta, but I did nothing in relation to cordova yet, for example when running in android dev mode I don’t know how to do a console.log()
Another thing, is there a way to use my phone connected to the computer (a pixel 2 xl and running archlinux in the pc) for development?
Good to be here
Latest posts made by jpsala
-
RE: Views on Vue 3
I think that here there is an opportunity, the community has been waiting impatiently for the new version of vue and I’m almost sure that, like me, more than one is postponing the start of some project to do it with vue 3. People in this situation, or some of them/as, will begin with the framework that’s available, just a thought, cheers
-
config icon-genie to not generate icons when target is web or exclude with webpack
Hello friends, I recently made a build for cordova (quasar( and used icon genie to generate the icons, now when I build for the web webpack bundles all the icons:
I was looking for a way to exclude them with webpack-chain but I got lost.statics/icons/apple-icon-120x120.png 4.83 KiB [emitted] statics/icons/apple-icon-152x152.png 7.31 KiB [emitted] statics/icons/apple-icon-167x167.png 8.14 KiB [emitted] statics/icons/apple-icon-180x180.png 9.45 KiB [emitted] statics/icons/favicon-16x16.png 393 bytes [emitted] statics/icons/favicon-32x32.png 741 bytes [emitted] statics/icons/favicon-96x96.png 3.33 KiB [emitted] statics/icons/favicon.ico 70.5 KiB [emitted] statics/icons/icon-128x128.png 5.15 KiB [emitted] statics/icons/icon-192x192.png 10.4 KiB [emitted] statics/icons/icon-256x256.png 18.3 KiB [emitted] statics/icons/icon-384x384.png 35.9 KiB [emitted] statics/icons/icon-512x512.png 63.2 KiB [emitted] statics/icons/ms-icon-144x144.png 6.44 KiB [emitted] statics/icons/safari-pinned-tab.svg 19.1 KiB [emitted] Entrypoint app = js/runtime.8849a42a.js js/vendor.2315befb.js css/app.36ea8e3b.css js/app.8d5e9077.js
I tried this in quasar.conf.js:
extendWebpack(cfg) { cfg.module.rules.push({ { test: /\.png$/, exclude: [ '/src/static/icons', ], }); },
There is no error in the build output but the files are still there, I don’t know if icon-genie is creating the icons AFTER this rule, or if this rule is doing something at all
-
How to exclude some files from the build
Hello friends, I recently made a build for cordova and used icon genie to generate the icons, now when I build for the web (spa), webpack bundles all the icons:
I was looking for a way to exclude them with webpack-chain but I got lost.statics/icons/apple-icon-120x120.png 4.83 KiB [emitted] statics/icons/apple-icon-152x152.png 7.31 KiB [emitted] statics/icons/apple-icon-167x167.png 8.14 KiB [emitted] statics/icons/apple-icon-180x180.png 9.45 KiB [emitted] statics/icons/favicon-16x16.png 393 bytes [emitted] statics/icons/favicon-32x32.png 741 bytes [emitted] statics/icons/favicon-96x96.png 3.33 KiB [emitted] statics/icons/favicon.ico 70.5 KiB [emitted] statics/icons/icon-128x128.png 5.15 KiB [emitted] statics/icons/icon-192x192.png 10.4 KiB [emitted] statics/icons/icon-256x256.png 18.3 KiB [emitted] statics/icons/icon-384x384.png 35.9 KiB [emitted] statics/icons/icon-512x512.png 63.2 KiB [emitted] statics/icons/ms-icon-144x144.png 6.44 KiB [emitted] statics/icons/safari-pinned-tab.svg 19.1 KiB [emitted] Entrypoint app = js/runtime.8849a42a.js js/vendor.2315befb.js css/app.36ea8e3b.css js/app.8d5e9077.js
-
RE: Exit app in android (solved)
@metalsadman, it worked!!! I suppose it worked outside a .vue because of the window.close(), sending navigator as a param to the action worked like a charm, thanks again!
-
RE: Exit app in android (solved)
mmm, nice one
easier that what I was going to do, I’ll try that, thanks man!
-
RE: Exit app in android (solved)
it’s strange that it’s working in the emulator but you are right, I’ll try to refactor so to use the navigator object after returning from the action, or something like that
-
RE: Exit app in android (solved)
it works find in the emulator but not from the actual device once installed
-
RE: Exit app in android (solved)
@metalsadman, do you have some advice? how is that navigator is not available? maybe because I’m not in a .vue file? did you have to exit from an android app?
-
Exit app in android (solved)
Hello, I’m trying to exit my app this way:
can you tell me what’s wrong?
When the user press a button I run this action and the code in the else block is executedlogout({ commit, dispatch }) { if (navigator.app) { navigator.app.exitApp(); } else if (navigator.device) { navigator.device.exitApp(); } else { commit('API_TOKEN', undefined); dispatch('setLoginData', undefined); dispatch('setHijoActivo', undefined); window.close(); } },