[Vuejs]-How to inset <script> into div in nuxt

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.

Leave a comment