Electron开发实战之06-vue
2018-07-31 本文已影响62人
1bdd9a4a74a2
- 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