On Fri, Mar 27, 2020 at 11:26 am, Xavier <y...@debian.org> wrote:
Le 27/03/2020 à 11:22, meskio a écrit :
 Quoting Paolo Greppi (2020-03-25 11:39:01)
The previous solution was not working anymore, and in the meantime upstream updated to v3.1.6:
 https://github.com/vuejs/vue-router/releases

 I have updated it, and changed again the approach.
There is no build error anymore, but I can't guarantee that the UMD build will work in the browser because I have no time to test it (for example in laminar UI).

 meskio, can you test laminar with the new build ? Thanks

I have tried the new build from the salsa ci[0], but laminar package doesn't work. Both firefox and chromium display a similar error in the console:

 vue-router.min.js:6 Uncaught ReferenceError: require is not defined
     at e (vue-router.min.js:6)
     at vue-router.min.js:6
 app.js:796 Uncaught ReferenceError: VueRouter is not defined
     at app.js:796

I have not much knowledge on the javascript environment. But tell me if I can
 help somehow.

 Thank you.

Thanks, this means that build is wrong: at least one library is
considered as "external".


I can see in dist/vue-router.js

 var ref = require("path-to-regexp");
 var pathToRegexp = ref.pathToRegexp;

and in package.json "path-to-regexp": "^1.7.0",

where as we have 6.1.0-2


Reply via email to