0👍
You can check if problem is with webpackJson default name. Nuxt uses webpack 4 version and maybe your external script uses webpack 4 also, so webpackJson is populated by nuxt first and then with external script and there is a conflict when running so you can change default name for you nuxt project with jsonpFunction: ‘webpackJsonp_name’, and then your external script should load webpackJson default.
- [Vuejs]-Scroll to bottom in Ionic Vue
- [Vuejs]-How to fix the error "Unknown custom element: <bot-ui>"?
Source:stackexchange.com