Joe

Results 14 comments of Joe

I think it's to do with these lines here: if (paper.header && paper.header.height === undefined) paper.header.height = '46mm' if (paper.footer && paper.footer.height === undefined) paper.footer.height = '28mm' in function definePaperSize...

I spent a while poking about in the source code but never found a solution. The only way I could get rid of the white space was to remove the...

Yeah, I've just been accepting the whitespace. I might take another look at the source and see if I can figure it out again.

Interestingly I've found the issue doesn't occur on linux (Ubuntu) in our production environment, but does on windows in Dev. Might help track it down.

What's the error in the console log? Find that's the only useful thing with cors errors

Try set your origin to: `http://localhost:45454` Instead of just `localhost:45454` I just had to add cors to our mockttp to support `credentials: true` because it didn't like the origin as...

What we do is have a configuration field `serverUrl;` say. In production the configuration is set to `serverUrl = https://www.example.com;`, however, in testing you set this to `serverUrl = http://localhost:3000;`....

Yes, it is frustrating. More of a feature request than issue.

I'm getting the same error with webpack, until I added the: ``` resolve: { alias: { 'vue': 'vue/dist/vue.min.js', } }, ``` to the webpack.config