electron-react-boilerplate

A Foundation for Scalable Cross-Platform Apps
授权协议 MIT License
开发语言 JavaScript
所属分类 Web应用开发、 常用JavaScript包
软件类型 开源软件
地区 不详
投 递 者 宫坚
操作系统 跨平台
开源组织
适用人群 未知
 软件概览


Electron React Boilerplate uses Electron, React, React Router, Webpack and React Fast Refresh.


Build Status

Install

  • If you have installation or compilation issues with this project, please see our debugging guide

First, clone the repo via git and install dependencies:

git clone --depth 1 --branch main https://github.com/electron-react-boilerplate/electron-react-boilerplate.git your-project-name
cd your-project-name
npm install

Starting Development

Start the app in the dev environment:

npm start

Packaging for Production

To package apps for the local platform:

npm run package

Docs

See our docs and guides here

Donations

Donations will ensure the following:

  • �� Long term maintenance of the project
  • �� Progress on the roadmap
  • �� Quick responses to bug reports and help requests

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

Maintainers

License

MIT © Electron React Boilerplate

  • 1 历史版本 参见《对于electron-react-boilerplate(ERB)的学习笔记(legacy)》 2 前言 这里我们来学习一下electron-react-boilerplate的目录结构; 3 electron-react-boilerplate的复制 进入electron-react-boilerplate的官方网站使用git进行复制: https://github.com/

  • 一、yarn安装缓慢 1 // 查看下载源 2 yarn config get registry 3 // 修改下载源 4 yarn config set registry https://registry.npm.taobao.org 二、安装调试问题   参考链接: https://electron-react-boilerplate.js.org/docs/installation-debu

  • 桌面应用的实现方式有很多,但谈到多操作系统平台兼容的话,就不得不提到electron。electron是前端开发的利好,做过web前端的同学只要稍微迁移下自己的项目,就能够将原本的web前端变成桌面应用。 因此,本文以react为例,以antd为UI库支持,讲解基于react的electron应用该如何搭建。 首先,electron-react-boilerplate项目,就帮助我们初始化了基于r

  • Electron结合React,在渲染进程中使用 node 模块 问题 将create-react-app与electron集成在了一个项目中。但是在React中无法使用electron。当在React中使用require('electron')时就会报TypeError: fs.existsSync is not a function的错误。因为React中无法使用Node.js的模块. 解决方

  • 无需Webpack配置或“弹出”。 (No webpack configuration or “ejecting” necessary.) I recently built an Electron app using create-react-app. I didn’t need to muck about with Webpack, or “eject” my app, either. I’ll

  • 前言 web端能做的事情很多,但是当涉及到操作系统的时候,可能就有点力不从心了。前段时间在开发一个web系统的时候,就遇到了类似的情况。我们需要获取电脑操作系统的一些信息,比如mac地址等。我们的web系统是完全放在服务器上,通过浏览器来运行的,但是通过web端并不能直接实现我们想要的效果。 问题就是留给人们来解决的。经过同事之间的讨论,因为系统本身并不复杂,而且要进行快速的开发。决定用Elect

 相关资料
  • 问题内容: 使用此样板作为参考,我创建了一个Electron应用程序。它使用webpack捆绑脚本并通过Express Server托管脚本。 的WebPack配置是实质上相同的这个和服务器这样。 Electron的脚本加载: 然后index.html加载服务器托管的脚本: 我运行以构建应用程序并启动服务器,该服务器使用webpack将脚本捆绑在一起。 它工作正常,我的React组件App已安装。

  • Electron Electron / Electron Documentation Electron github / Electron github docs zh-CN Electron 是什么 Electron 是一个能让你通过 JavaScript、 HTML 和 CSS 构建桌面应用的库 。这些应用能打包到 Mac 、 Windows 和 Linux 电脑上运行,当然它们也能上架到 M

  • Electron 是一个使用 JavaScript、HTML 和 CSS 构建跨平台的桌面应用程序。它基于 Node.js 和 Chromium,被 Atom 编辑器和许多其他应用程序使用。 Electron 兼容 Mac、Windows 和 Linux,可以构建出三个平台的应用程序。

  • 使用 electron 嵌套 react开发项目,如何实现前端数据离线缓存,数据较多且对读取速度有要求。pouchDB 能否满足要求,使用 pouchDB写了 demo,每次 electron 重启后,数据就没了。 有没有其他比较成熟的方案,最好这种缓存可兼容 web 端,web 也会独立部署(非必要)

  • Package time feature toggles What are fuses? For a subset of Electron functionality it makes sense to disable certain features for an entire application. For example, 99% of apps don't make use of ELE

  • electron-vue 是一个基于 vue 来构造 electron 应用程序的样板代码。 概要 该项目的目的,是为了要避免使用 vue 手动建立起 electron 应用程序。electron-vue 充分利用 vue-cli 作为脚手架工具,加上拥有 vue-loader 的 webpack、electron-packager 或是 electron-builder,以及一些最常用的插件,如