![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
hh12121
这个作者很懒,什么都没留下…
展开
-
2021-05-07
electron学习笔记1electron是啥:electron = chromium(通过web技术写ui) + node.js (让electron拥有实现底层逻辑的能力) + Native Api (跨平台&原声能力)组成的快速开发桌面级应用的一个东西;electron啥用:可以快速的开发桌面应用;electron 安装先下载node 我是用n安装 npm install -g n ;安装node sudo n 12.14.0 ;然后安装electron : np原创 2021-05-07 16:00:36 · 412 阅读 · 2 评论 -
简单实现Vuex
let Vue;class Store { constructor(options) { // state的响应式处理 this.state = new Vue({ data: options.state; }); this._mutations = options.mutations; this.actions = options.actions; this.commit = this.commit.bind(this); this.dispatch = this.原创 2021-02-02 15:32:42 · 116 阅读 · 0 评论