Fixing Uncaught ReferenceError: Vue is not defined with webpack
I am moving to a workflow using WebPack, which bundles code. While transitioning, I stumbled across this error:Uncaught ReferenceError: Vue is not definedat eval (external "Vue"?548a:1)at Object.<anonymous> (pcp_mainbundle.js:172)at __webpack_require__ (pcp_mainbundle.js:20)at eval (pcpVue.js?6cb8:1)at Object.<anonymous> (pcp_mainbundle.js:196)at __webpack_require__ (pcp_mainbundle.js:20)at eval (pcpMain.js?814e:1)at Object.<anonymous> (pcp_mainbundle.js:189)at __webpack_require__ (pcp_mainbundle.js:20)at Object.<anonymous> (pcp_mainbundle.js:181)10000000111a2334:47 Uncaught TypeError: window.pcpRun is not a functionat 10000000111a2334:47I ensured that the [...]