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

    Topics created by ajenkins

    • A

      Build SPA app with relative base path
      CLI • • ajenkins

      10
      0
      Votes
      10
      Posts
      1995
      Views

      M

      Thank you @ajenkins and @dobbel for this thread and solutions. I have been struggling this for a long time,

    • A

      Configure component prop defaults
      Framework • • ajenkins

      18
      0
      Votes
      18
      Posts
      3630
      Views

      dobbel

      @garhbod

      Nice! You should create a post in Show and Tell on this forum for bigger audience.

    • A

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

      2
      0
      Votes
      2
      Posts
      447
      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.