Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Hariprasath
    3. Best
    H
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 8
    • Best 2
    • Groups 0

    Best posts made by Hariprasath

    • Access files in the root with simple method

      i have mixin folder with some files inside the src folder of quasar
      i have files that present inside the folder with a long path
      when i want to access the mixin from the file i have to mention long parent path notation in the import statement
      if i have short method like ‘@’ symbol to access the ‘src’ folder directly from any file, i am very happy to use quasar
      i have this method in previous projects with vue and other vue templates

      posted in Framework
      H
      Hariprasath
    • RE: Access files in the root with simple method

      OK Thank you very Much i got the result
      Just Include

          cfg.resolve.alias = {
            ...cfg.resolve.alias,
            '@': path.resolve(__dirname, './src')
          }
      

      at

          extendWebpack (cfg)
      

      function under build object and add

          var path = require('path')
      

      at top of the page

      posted in Framework
      H
      Hariprasath