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. phgrund
    • Profile
    • Following 1
    • Followers 0
    • Topics 2
    • Posts 5
    • Best 0
    • Groups 0

    phgrund

    @phgrund

    0
    Reputation
    1
    Profile views
    5
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    phgrund Follow

    Latest posts made by phgrund

    • Extending vue-autonumeric with quasar webpack

      I’m trying to install VueAutonumeric but I’m having trouble to extend the webpack config. According to the documentation, I have to extend webpack like this

      module.exports = {
          entry  : './src/vueAutonumericTest.js',
          output : {
              filename: './dist/bundle.js'
          },
          resolve: {
              alias: {
                  AutoNumeric: 'node_modules/autonumeric/dist/autoNumeric.min',
              },
          },
      };
      

      This is how I tried to extend

            extendWebpack (cfg) {
              cfg.module.rules.push({
                enforce: 'pre',
                test: /\.(js|vue)$/,
                loader: 'eslint-loader',
                exclude: /node_modules/
              })
              cfg.resolve.alias.AutoNumeric = 'node_modules/autonumeric/dist/autoNumeric.min'
            }
      

      But it gives the following error

       ERROR  Failed to compile with 1 errors                                                                        5:53:17 PM
      
      This dependency was not found:
      
      * AutoNumeric in ./node_modules/vue-autonumeric/dist/vue-autonumeric.min.js
      
      To install it, you can run: npm install --save AutoNumeric
      

      How can I import this module? I have both of them in my node_modules

      posted in Help
      phgrund
      phgrund
    • RE: Blank Page with PWA and NGINX

      @dobbel turns out i figured out what was the problem. It was missing the publicPath in the webpack config. So adding the production URL stopped these missing vendor.js files problem. I still remain with one problem which is sometimes if I open my PWA offline (which I accessed before) it doesnt show the cached version, just a white screen, but sometimes it shows. Any solutions? My workbox options are in the first post

      posted in Help
      phgrund
      phgrund
    • RE: Blank Page with PWA and NGINX

      @turigeza will it bring some security issues or its safe to remove?

      posted in Help
      phgrund
      phgrund
    • RE: Blank Page with PWA and NGINX

      @dobbel never tried, since I need a PWA to generate the APK

      posted in Help
      phgrund
      phgrund
    • Blank Page with PWA and NGINX

      Whenever I deploy my PWA and try to access in production, it gives me a blank screen and the following error in console

      alt text

      In PWA options in quasar.conf.js file I have the following options:
      alt text

      The NGINX configuration files is the same as the one used in the Deploying SPA Guide

      For what I’ve realized, this vendor(…).js file is missing since quasar has been built again, any ideias on how to fix it?

      posted in Help
      phgrund
      phgrund