使用electron-vue的一点问题
发布于 3 年前 作者 feer 1163 次浏览 来自 问答
粉丝福利 : 关注VUE中文社区公众号,回复视频领取粉丝福利

大家好,第一次使用vue.js搭配electron来搞的,不过使用vue-snotify插件的时候总是提示错误
You are using the runtime-only build of Vue where the template compiler is not available.
谷歌许久之后误解,所以来问问,使用的框架是:https://github.com/SimulatedGREG/electron-vue
查看了webpack的配置,已经是
resolve: {
alias: {
‘@’: path.join(__dirname, ‘…/src/renderer’),
‘vue$’: ‘vue/dist/vue.esm.js’
},
extensions: [’.js’, ‘.vue’, ‘.json’, ‘.css’, ‘.node’]
},
所以不知道为题出在哪里了,忘解答一下。谢谢

回到顶部