No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. maxxiris
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 21
    • Best 1
    • Groups 0

    maxxiris

    @maxxiris

    1
    Reputation
    43
    Profile views
    21
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    maxxiris Follow

    Best posts made by maxxiris

    • RE: [SOLVED] Blank page when using beforeEnter route

      My ignorance, must call next() function to process. I think this is just a hook and call before route change

      posted in Framework
      M
      maxxiris

    Latest posts made by maxxiris

    • RE: [CAN’T BE SOLVED] Android build with proxy server

      After testing I find out Ionic CLI is the same quasar, mean proxy just work as a normal reverse proxy on Pc environment.

      So I want to confirm that there is NO way to make proxy work with a cordova build atm (not sure if someone make a plugin in future that control xhr call and divert through a native proxy)

      posted in Framework
      M
      maxxiris
    • RE: [CAN’T BE SOLVED] Android build with proxy server

      I look around and Ionic has exact the same proxy setting as quasar

      https://ionicframework.com/docs/v3/cli/configuring.html#service-proxies

      Hope anyone know how to port this to quasar mobile app

      posted in Framework
      M
      maxxiris
    • RE: Hide the 'add file' button in q-uploader

      I must agree the layout for q-uploader is not so flexible and take a lot of web space. So I think we must write our own component for uploader to suit our needs.

      posted in Help
      M
      maxxiris
    • [CAN’T BE SOLVED] Android build with proxy server

      This may off-topic of quasar but hope anyone could help

      I set proxy server in quasar config.

      devServer: {
        // https: true,
        // port: 8080,
        open: true, // opens browser window automatically
        proxy: {
          // proxy all requests starting with /api to jsonplaceholder
          '/api': {
            target: 'http://localhost/cbccvc_dev/',
            changeOrigin: true,
            pathRewrite: {
              '^/api': ''
            }
          }
        }
      },
      

      Now with android build, url will not open external link through proxy. When debug app return a file:// link like file:///api/index.php?option=com_api&controller=core&task=login

      So how could I keep android app to understand proxy setting when build. Hope anyone could help. Tks

      posted in Framework
      M
      maxxiris
    • RE: [SOLVED] Access Vuex store in router.js

      Tks for your quick reply, It work. I make typo with import {store} (lower case and It doesnot work before)

      Here is my store index.js

      https://gist.github.com/linhtranvu/ea0f30cafbce67a69e761e0ace21ba63

      posted in Framework
      M
      maxxiris
    • [SOLVED] Access Vuex store in router.js

      I want to access Vuex store in router.js (not index.js of route where we could use export default function ({ store }) )

      Here is the code I want to access store

      path: '/list',
          component: () => import('layouts/my-layout.vue'),
          beforeEnter: (to, from, next) => {
            // Access store here
            next()
          },
      

      I try
      import { store } from 'Vuex'; and import store from '../store/index.js' but none work

      So could anyone help me. Tks alot

      posted in Framework
      M
      maxxiris
    • RE: [SOLVED] Blank page when using beforeEnter route

      My ignorance, must call next() function to process. I think this is just a hook and call before route change

      posted in Framework
      M
      maxxiris
    • RE: [SOLVED] Blank page when using beforeEnter route

      ps: when comment out beforeEnter everthing work fine. So it s not a problem of template, page

      posted in Framework
      M
      maxxiris
    • [SOLVED] Blank page when using beforeEnter route

      I am trying beforeEnter and have weird issue when page render white (blank), but console show no error

      path: '/home',
      component: () => import('layouts/home.vue'), 
      children: [
        { 
          path: 'list/files/:id_donvi?/:id_phong?', 
          component: () => import('pages/docs/list/files.vue') ,
          beforeEnter: (to, from, next) => {
            console.log(to)
          }        
        },
      

      In console I could see the log of “to” variable. But page show nothing. I have search and found someone enter the same issue but no solution.

      Hope anyone could give a help. Tks

      posted in Framework
      M
      maxxiris
    • RE: Looking for advanced QTree example with lazy loading
      1. First when render Tree, data[] is empty. Because it is lazy load, we get root node from Ajax in mounted: async function() {
      2. done is truly magic :D. done(treeNodes ) //Draw tree at the end of lazy function mean the final node need to be draw. Any code above this line is just for generating treeNodes object
      posted in Help
      M
      maxxiris