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. anasaw
    3. Posts
    A
    • Profile
    • Following 1
    • Followers 0
    • Topics 8
    • Posts 21
    • Best 1
    • Groups 0

    Posts made by anasaw

    • RE: qselect options from store

      i’m use categories in many pages so i get it on create and store it

      	let payload = {
      	id:category,
      	category:categories[category]			
      				}
      		payload.category.id=category
      

      and i display it like this

      <select v-model="category" class="form-c" >
          <option v-for="option in categories" v-bind:value="option.id">
              {{ option.name_en }}
          </option>
      </select>
      

      but i want to use qselect

      posted in Help
      A
      anasaw
    • How to dynamically create Input Fields in quasar

      i want to add more fields by user as he want
      and store it as an array to firestore

      posted in Help
      A
      anasaw
    • qselect options from store

      i want to display categories in dropdown list
      how to get it from store and loop the it in options

      posted in Help
      A
      anasaw
    • RE: quasar with firebase realtime db

      @dobbel
      what this error mean ?

      [Vue warn]: Error in callback for watcher "function () { return this._data.$$state }": "Error: [vuex] do not mutate vuex store state outside mutation handlers."
      
      (found in <Root>)
      
      vue.runtime.esm.js?5593:1888 Error: [vuex] do not mutate vuex store state outside mutation handlers.
      
      posted in Help
      A
      anasaw
    • quasar with firebase realtime db

      i am using firebase to quasar admin panel
      and every user have roles
      how to store this roles and every change in firebase update the store

      posted in Help
      A
      anasaw
    • routes issue

      what is the wrong with this

      i want to check if the user want to go to landing page let him go
      else if the admin want to go to admin panel must go to login
      else if the admin logged in he can go to any where

      every thing is okay but when the user go to landing page he get a white page no content

      router.beforeEach((to,from,next) => {
        let loggedIn =LocalStorage.getItem('loggedIn')
      
        if(to.path == '/'){
          next('/')
      
        }else if(!loggedIn && to.path !== '/auth'){
          next('/auth')
      
        }else if (loggedIn && to.path =='/auth'){
          next('/admin')
      
        }else{
          next()
      
        }
      
      })
      
      
      const routes = [
        {
          path: '/',
          component: () => import('layouts/Layout.vue'),
          children: [
            { path: '', component: () => import('pages/Index.vue') },
            { path: '/auth', component: () => import('pages/PageAuth.vue') }
          ]
        },
        {
          path: '/admin',
          component: () => import('layouts/MainLayout.vue'),
          children: [
            { path: '', component: () => import('pages/admin/Index.vue') }
          ]
        },
        // Always leave this as last one,
        // but you can also remove it
        {
          path: '*',
          component: () => import('pages/Error404.vue')
        }
      ]
      
      export default routes
      
      
      vue-router.esm.js?85f8:2128 RangeError: Maximum call stack size exceeded
          at parsePath (vue-router.esm.js?85f8:469)
          at normalizeLocation (vue-router.esm.js?85f8:999)
          at Object.match (vue-router.esm.js?85f8:1493)
          at VueRouter.match (vue-router.esm.js?85f8:2741)
          at HTML5History.transitionTo (vue-router.esm.js?85f8:2082)
          at HTML5History.push (vue-router.esm.js?85f8:2414)
          at eval (vue-router.esm.js?85f8:2184)
          at eval (router-auth.js?8dc1:10)
          at iterator (vue-router.esm.js?85f8:2169)
          at step (vue-router.esm.js?85f8:1895)
      

      and is this a secure way ?

      posted in Help
      A
      anasaw
    • RE: RTL issue

      @dobbel
      i’m trying but nothing is working

      posted in Help
      A
      anasaw
    • RE: RTL issue

      @dobbel thank you 😁

      posted in Help
      A
      anasaw
    • RE: RTL issue

      @dobbel
      this is the code
      https://github.com/anas-aw/quasar-rlt

      posted in Help
      A
      anasaw
    • RE: RTL issue

      @dobbel Yes, I have read it

      and yes when reload the page the language still arabic but the page change to ltr

      which part of code you want to see ?

      posted in Help
      A
      anasaw
    • RE: RTL issue

      @dobbel yes when i change the language it’s work and the language save in the browser storage when the page reload
      the language not change only it’s back to ltr

      posted in Help
      A
      anasaw
    • RTL issue

      I did the translation for my project ِ(English | Arabic)
      But when I reload any page RTL not working
      and Arabic is a RTL language

      posted in Help
      A
      anasaw
    • RE: quasar: command not found

      thank you all problem solved successfully

      $ npm link @quasar/cli

      posted in CLI
      A
      anasaw
    • RE: quasar: command not found

      @metalsadman said in quasar: command not found:

      removing the cli globally

      npm uninstall -g @quasar/cli
      npm cache clean --force
      sudo npm install -g @quasar/cli

      if this is what you mean it’s still not working I know the problem, not from quasar but I don’t know how to solve this issue

      posted in CLI
      A
      anasaw
    • RE: quasar: command not found

      @metalsadman
      this is not my first project
      but now it’s not working

      posted in CLI
      A
      anasaw
    • RE: quasar: command not found

      @dobbel macOs

      posted in CLI
      A
      anasaw
    • RE: quasar: command not found

      @Graypes
      it’s not working

      posted in CLI
      A
      anasaw