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. CLI
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • A

      How to use vue-google-adsense in quasar?
      adsense vue-google-adse • • aaronsmith

      1
      0
      Votes
      1
      Posts
      99
      Views

      No one has replied

    • O

      How to pause player in component in another instance of the component
      • omgwalt

      6
      0
      Votes
      6
      Posts
      330
      Views

      J

      Nop, you access through a component’s method. This is the basic use-case.

      In a template, it’s like writing :

      <template> <div ref="one">test</div> <div>{{$refs.one.$el.html}}</div> </template>

      in computed, it’s all that belongs to your component computed() property

      export default { name: "MyComponent", computed () { test () { console.log(this.$refs.one.$el.html) } } }
    • C

      Quasar line break is printing as <br /> isntead of line break
      • Christal

      2
      0
      Votes
      2
      Posts
      1172
      Views

      T

      @Christal This is not Quasar related. You should carefully read Vue.JS documentation, especially this part : https://vuejs.org/v2/guide/syntax.html#Raw-HTML 🙂

    • C

      Get month in between using date
      • Christal

      2
      0
      Votes
      2
      Posts
      73
      Views

      s.molinari

      This might give you some ideas (and you don’t need MomentJS either). https://stackoverflow.com/questions/30464628/javascript-get-all-months-between-two-dates

      This is a JavaScript question, not a Quasar one. Try finding the answer yourself next time. Thanks.

      Scott

    • J

      Modern CLI fail with class properties
      • jraez

      5
      0
      Votes
      5
      Posts
      150
      Views

      J

      Hurra! Thanks a lot.

    • C

      Building web components ?
      • chbarr

      10
      0
      Votes
      10
      Posts
      1492
      Views

      L

      And this for a reusable wrapper creator with support for props: https://gist.github.com/larvanitis/b4937a182e41b8563e95e531f199b7e2

      Also untested…

    • M

      Where do i add 3rd party library functions to execute on app load?
      • Mel

      6
      0
      Votes
      6
      Posts
      379
      Views

      s.molinari

      Ok. That’s good. Good to know I was actually right to begin with. 😁

      Scott

    • bjbk

      Quasar CLI -modern Nullish coalescing operator throws error
      • bjbk

      2
      0
      Votes
      2
      Posts
      163
      Views

      Hawkeye64

      Putting here what I added on Discord

      As you can see here, it was added to acorn 20 days ago in version 7.2.0
      But, look here:

      ├─┬ @quasar/app@1.9.1 │ ├─┬ webpack@4.43.0 │ │ └── acorn@6.4.1 │ └─┬ webpack-bundle-analyzer@3.8.0 │ └── acorn@7.2.0 └─┬ eslint-plugin-vue@6.2.2 └─┬ vue-eslint-parser@7.1.0 └─┬ espree@6.2.1 └── acorn@7.2.0 deduped

      Waiting on webpack to update to v7.2.0

    • C

      How to build based on staging spa using dotenv
      • Christal

      6
      0
      Votes
      6
      Posts
      260
      Views

      Hawkeye64

      @Christal https://github.com/quasarframework/app-extension-qenv/tree/dev/app-extension

    • O

      MIcrosoft Edge issue: [vue-router] Failed to resolve async component default: SyntaxError: Expected identifier, string or number
      • omgwalt

      1
      0
      Votes
      1
      Posts
      256
      Views

      No one has replied

    • C

      Switcher for translation variables
      • Christal

      2
      0
      Votes
      2
      Posts
      58
      Views

      s.molinari

      What is the purpose for needing this? When you say “print”, do you mean output in a component or actually printing? And $t isn’t a variable, it is a method. And you can wrap methods in other methods, but the “why” for you needing to do that is unclear.

      Scott

    • N

      Windows 10 won't read quasar-cli
      • Nectar

      8
      0
      Votes
      8
      Posts
      6646
      Views

      s.molinari

      Please don’t use old threads for new problems. Start a new thread. Also, you need to explain more to get help. What did you do to the point of not getting further. Are you seeing any errors? If no errors, what do you see?

      Scott

    • C

      This topic is deleted!
      • Christal

      3
      0
      Votes
      3
      Posts
      9
      Views
    • C

      router is not working in boot files
      • Christal

      2
      0
      Votes
      2
      Posts
      300
      Views

      s.molinari

      Read this carfully please. 🙂

      https://quasar.dev/quasar-cli/cli-documentation/boot-files#Anatomy-of-a-boot-file

      Scott

    • mesqueeb

      icongenie difference between assets and include
      • mesqueeb

      1
      0
      Votes
      1
      Posts
      54
      Views

      No one has replied

    • P

      Boot order of vuex and router
      • patriq

      1
      0
      Votes
      1
      Posts
      39
      Views

      No one has replied

    • J

      Capacitor Build - Errors With capacitor-cordova-android-plugins?
      • jpperlm

      5
      0
      Votes
      5
      Posts
      1211
      Views

      J

      Hello,

      I had the same message while migrating to capacitor from cordova.
      I removed all my cordova plugins, but I still got that error.
      The way I fixed the error (I have not idea why it is related to capacitor-cordova-android-plugins message), was that I was using my own certificate.
      I changed from
      devServer: {
      https: {
      key: fs.readFileSync(’/path/to/server.key’),
      cert: fs.readFileSync(’/path/to/server.crt’),
      ca: fs.readFileSync(’/path/to/ca.pem’),
      }
      to
      devServer: {
      https: false,

    • yarrow

      Auto-generated store-flag.d
      • yarrow

      3
      0
      Votes
      3
      Posts
      549
      Views

      yarrow

      Will do.

    • A

      Webpack aliases in IntelliJ (WebStorm, PyCharm, etc)
      • ajenkins

      2
      0
      Votes
      2
      Posts
      482
      Views

      A

      Answering my own question. I found quasar-ide-helper, which solves this problem. However it seemed to do a bunch of other stuff to my project that I didn’t want or need. In one of the issues for that project I found this solution.

      Make this change to your quasar.conf.js.

      At the top add

      let fs = require('fs')

      Then in the extendWebpack function, add:

      if (!fs.existsSync('webpack.config.js')) { fs.writeFileSync('webpack.config.js', ` /* eslint-disable */ /** * DON'T EDIT THIS FILE!! * * This file is generated to help IntelliJ resolve Webpack aliases. It is never run in the app. * If you need to extend your webpack config, put your code in quasar.conf.js into extendWebpack function */ module.exports = ${JSON.stringify(cfg, null, 2)} `) }

      You’ll need to run quasar dev or quasar build to trigger this code to be run. Now you can configure the IDE to use “<project_dir>/webpack.config.js” as the webpack config, and it’ll know about your aliases. If you want to update the file because your webpack config has changed, just delete it and re-run quasar dev.

    • H

      Steps to migrate from existing Vue CLI project to Quasar CLI.
      • hpawar

      4
      0
      Votes
      4
      Posts
      881
      Views

      H

      Thanks @s-molinari , @metalsadman for your insights…