Coder Social home page Coder Social logo

electron-parcel-react-boilerplate's Introduction

设置electron国内镜像

# yarn 
yarn config set electron_mirror https://npm.taobao.org/mirrors/electron/

# npm
npm config set electron_mirror https://npm.taobao.org/mirrors/electron/

开发环境安装

# 安装依耐包
yarn
# 启动调试模式
yarn app:dev

目录结构说明

  • app electron进程目录
    • libs 公共类
    • model 公共模型类
    • app.js 主进程
    • ipc.js 主进程与渲染进程间通讯
    • main.js 主窗口
  • web 基于react的渲染进程页面
    • pages 页面
    • preload 预加载js
    • styles css样式
    • index.js 前端入口文件
    • Router.jsx 路由文件

生成安装包

# mac
yarn pack:mac

# win 
yarn pack:win

electron-parcel-react-boilerplate's People

Contributors

swallsky avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.