当前位置: 首页 > 软件库 > Web应用开发 > Web框架 >

angular-electron-seed

授权协议 Readme
开发语言 JavaScript
所属分类 Web应用开发、 Web框架
软件类型 开源软件
地区 不详
投 递 者 钱震博
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Angular Electron Seed

This seed combines the technologies of Angular (4+) with Electron to create a robust development stack for creating Desktop applications. Leveraging the stock AngularCLI build process, we are able to maintain webpack and stock tooling with minimal tweaking.

Example

Getting Started

Command Description
npm i Install the required dependencies
npm run start Builds the project and opens your app in Electron
npm run start.watch Builds the project and watches for file changes with Angular CLI
npm run watch Runs the custom tooling and syncs the live-sync with the AngularCLI watch task
npm run bundle.mac Bundles your MacOS app into the bundles directory
npm run bundle.windows Bundles your Windows app into the bundles directory
npm run bundle.linux Bundles your Linux app into the bundles directory

Features

  • IPC Protocol - Send messages between Electron and Angular (plays beep when clicking Getting Started)
  • Exposed Electron API via NgxElectronService
  • Bundle your app for Mac, Windows or Linux

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.Before running the tests make sure you are serving the app via ng serve.

Built with Angular Electron Seed

Contributors

Sean perkins
Sean Perkins
 相关资料
  • Introduction Bootstrap and package your project with Angular 12 and Electron 13 (Typescript + SASS + Hot Reload) for creating Desktop applications. Currently runs with: Angular v12.1.2 Electron v13.1.

  • 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,可以构建出三个平台的应用程序。

  • 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,以及一些最常用的插件,如

  • 基于 Electron 桌面开发平台的自研应用框架 Sugar-Electron,期望能改善 Electron 应用稳定性和帮助开发团队降低开发和维护成本。 关于应用稳定性 Electron应用程序有三大基础模块: 主进程 渲染进程 进程间通信 由于我们属于多窗口(多渲染进程)的应用,所以我们会把窗口公共的服务模块都写到主进程模块,这为整个程序的稳定性埋下了隐患。 在Electron中,主进程控制