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

    smellydogcoding

    @smellydogcoding

    1
    Reputation
    14
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    smellydogcoding Follow

    Best posts made by smellydogcoding

    • RE: How do I modify the output key in webpack config

      I found the solution using chainWebpack. Add this to the build section of your quasar.conf.js:

      build: {
        chainWebpack (chain) {
          chain.output.globalObject('this')
        }
      }
      
      posted in Help
      smellydogcoding
      smellydogcoding

    Latest posts made by smellydogcoding

    • RE: Security warnings when running in Electron dev mode

      Can someone recommend a content security policy setting that will work with a quasar electron app? I currently have

      session.defaultSession.webRequest.onHeadersReceived((details, callback) => {
          callback({ responseHeaders: Object.assign({
            'Content-Security-Policy': [ 'default-src \'self\'' ]
          }, details.responseHeaders) })
        })
      

      but it keeps the app from running at all because it refuses to run inline scripts. I believe the scripts are being generated by Vue since I don’t have any external content.

      posted in Starter Kits
      smellydogcoding
      smellydogcoding
    • RE: How do I modify the output key in webpack config

      I found the solution using chainWebpack. Add this to the build section of your quasar.conf.js:

      build: {
        chainWebpack (chain) {
          chain.output.globalObject('this')
        }
      }
      
      posted in Help
      smellydogcoding
      smellydogcoding
    • How do I modify the output key in webpack config

      I am trying to implement pdfvuer (which is based on PDF JS) in a project. I keep getting an error in the console: ReferenceError: window is not defined. Based on what I’ve read, this seems to be the solution:

      Edit (or create) vue.config.js and change webpack configuration there:

      module.exports = { configureWebpack: config => { config.output.globalObject = "this"; } }
      

      How do I impliment this in quasar.conf.js?

      posted in Help
      smellydogcoding
      smellydogcoding