nuxt.config.js
/*
    ** You can extend webpack config here
    */
You can extend webpack config here
You can extend webpack config here
extend (config, { isDev }) {
      if (true) {
        config.output.publicPath = './_nuxt/'
      }
    }
extend ( config , { isDev } ) { if ( true ) { config . output . publicPath = './_nuxt/' } }
You can extend webpack config here
You can extend webpack config here
// this fixes a prod bug caused by proxying with NGINX from a sub-directory rather than the top level domain. ie. jeremypoole.ca/covid. I could have made a subdomain instead, I guess I'm just lazy :P // see https://github.com/nuxt/nuxt.js/issues/1947#issuecomment-416013725