Franck Freiburger
Franck Freiburger
At first glance I cannot explain why the worker goes in publicPath. Maybe you can have a look at https://github.com/mozilla/pdfjs-dist/blob/master/webpack.js since vue-pdf use it
feel free to reopen if the issue still persists
> Why is worker.js generated under the public path rather than the dist path ? And why is it not integrated in the vendor.js bundle ? The pdf worker is...
> **worker-loader [publicPath](https://github.com/webpack-contrib/worker-loader#publicpath)** > Type: `String` Default: `null` > > Overrides the path from which worker scripts are downloaded. If not specified, the same public path used for other webpack...
Please use English language.
In the file `pdf.vue` try to replace ``` if ( process.env.VUE_ENV === 'server' ) { var PDFJS = require('pdfjs-dist/build/pdf.js'); PDFJS.PDFJS.disableWorker = true; } else { var PDFJS = require('pdfjs-dist/webpack.js'); }...
`...,global,jest){
stick to [email protected] since 2.7.570 drops 'support for IE 11 and non-Chromium-based Edge'
We must also support browsers that does not support fonts api (see [font_loader](https://github.com/mozilla/pdf.js/blob/25446dbd8d0fa0afdd4789965c16335602d825bf/src/display/font_loader.js#L86) in PDFJS)
I don't understand, neither vue-resize-sensor or vue-pdf use PostCSS