Open shaohaojiecoder opened 3 years ago
I didn't take time to create an electron project to make the test, but it seems to me the injection problem is due to a vgl
component not to be in a <golden-layout ...
element.
Take care that the golden-layout
element surrounds every vue-golden-layout logic.
If you don't find, please provide a minimal example to reproduce the bug.
Hi, Brother: it happend like under->
import vgl from 'vue-golden-layout' Vue.use(vgl)
it raisedwhen I fix it like: `/webpack.renderer.config.js/ ... let whiteListedModules = ['vue', 'vue-golden-layout'] ... ... new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery' }) ...
/ main.js / window.jQuery = window.$ = require('jquery/dist/jquery.min') ` it still raise error but diffrent:
Thanks very much!!!!!