- bash
yarn add vue electron-webpack-vue -D
- renderer/index.js
import Vue from 'vue'
new Vue({
render: h => h('h1', 'Hello World')
}).$mount('#app')
- bash
yarn dev
yarn add vue electron-webpack-vue -D
import Vue from 'vue'
new Vue({
render: h => h('h1', 'Hello World')
}).$mount('#app')
yarn dev
相关阅读