-
Notifications
You must be signed in to change notification settings - Fork 26
vue-menu does not work on vue-electron #5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
"hsc-menu-bar-item" must be in "hsc-menu-bar" like this |
Doesn't it work? <hsc-menu-style-white>
<hsc-menu-bar style="border-radius: 0 0 4pt 0;">
<hsc-menu-bar-item label="File">
</hsc-menu-bar>
</hsc-menu-style-white> NG: <hsc-menu-style-white>
<hsc-menu-bar-item label="File">
</hsc-menu-style-white> |
No, it still does not work, I was using the main example
|
I see. The same problem occurred on my vue-electron environment too. I'll fix them. |
I was looking into the issue, but have found no solution for now. |
Any updates on this issue. I love your package and want to use it with |
any news on this? |
I'm sorry that I have no idea about this. |
@michitaro I don't no why,but add @hscmap/vue-menu to whitelist in webpack.renderer.config.js ,can workaroud this error. let whiteListedModules = ['vue','element-ui','@hscmap/vue-menu'] |
Works like a charm |
@gaodeng Thank you very much for the suggestion! |
Hello
I'm using the window component, found it great, and trying using this one.
I'm trying to compile the simple example of the main page, with hsc-menu-bar/item
Unfortunatly, i got errors, like unfound components.
I'm working with an electron-vue template, and installing the plugin as usual
import * as VueMenu from '@hscmap/vue-menu' and Vue.use(VueMenu)
I have to use them all ?
The text was updated successfully, but these errors were encountered: