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. nededa
    3. Best
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 20
    • Best 3
    • Groups 0

    Best posts made by nededa

    • RE: Apollo graphql

      @vasya sure, hope it helps. ๐Ÿ™‚

      <template>
        <div id="q-app">
          <router-view />
        </div>
      </template>
      <script lang="ts">
      import { defineComponent, provide } from '@vue/composition-api';
      import { DefaultApolloClient } from '@vue/apollo-composable'
      import ApolloClient from 'apollo-boost'
      
      const apolloClient = new ApolloClient({
        uri: 'http://127.0.0.1/graphql'
      })
      
      export default defineComponent({
        name: 'App',
        setup () {
          provide(DefaultApolloClient, apolloClient)
        },
      });
      </script>
      
      posted in Help
      N
      nededa
    • RE: Q-Uploader with Composition API

      @pazarbasifatih P.S. in composition api โ€œthisโ€ is similar to context which can be accessed as second parameter in setup function

      setup(props, context)
      

      Or can be destructed if only refs is needed

      setup(props, { refs })
      
      posted in Framework
      N
      nededa
    • RE: q-table highlight filtered value

      If I understood you correctly you could just wrap it in span element by using replace and then use v-html to render html. Something like this:

      <q-td
          key="calories" 
          :props="props"
          v-html="props.item.calories.replace(searchValue, `<span style='color:yellow'>${searchValue}</span>`"
      >
      </q-td>
      
      posted in Help
      N
      nededa