GithubHelp home page GithubHelp logo

mackignacio / electron-angular-quickstart Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 8.0 301 KB

Fastest way to start and develop electron with angular for desktop applications. Bootstrapping includes hot reload, electron services, routing, scss support and typescript for electron.

License: MIT License

TypeScript 48.18% HTML 51.10% CSS 0.72%
electron angular6 desktop-application hotreload electron-app electron-application electronjs angular angular2 angular4

electron-angular-quickstart's Introduction

Electron Angular Quickstart

Angular Logo

Electron Logo

This is a project for creating your first electron desktop app. You can use this to easily setup your basic electron + angular project files for your development.

Currently runs with:

With this sample, you can :

  • Run your app in a local development environment with Electron & Hot reload
  • Run your app in a production environment
  • Package your app into an executable file for Linux, Windows & Mac

Getting Started

Clone this repository locally :

git clone https://github.com/Mackignacio/electron-angular-quickstart.git

Install dependencies with npm :

npm install

Install rimraf globally with npm :

npm install rimraf -g

Install Angular with npm :

  • If you have no Angular installed in your machine follow this command.
npm install -g @angular/cli@latest
ng update @angular/cli && ng update @angular/core && ng update @angular/material

Development

  • in a terminal window -> npm start

Now you can experience a fast way of developing desktop apps using Angular + Electron with hot swaping and hot reloading.

This package includes a basic boiler plate example code for an Electron App using Angular. With this basic example you can develop your app using Angular and package it with Electron window as a desktop App. The Electron codes are managed by main.ts file on your root directory.

Developing with this package make it easy because its enable you to change your code and its automatically updates your Electron app. This package eliminates the repetition of closing and running again of your Electron app on your terminal. You can change codes and see it update to your apps in a couple of seconds.

Versions

Released Versions

Other Stable Versions

electron-angular-quickstart's People

Contributors

mackignacio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

electron-angular-quickstart's Issues

Routing logic

Are you sure this uses the state-of-the-art cutting edge routing logic?
24058828_10212592843554206_3103594635037517831_n

Npm start open 2 windows

I don't know if it's an error or it's done that way, but I'd like to know why two windows come out and I can't close one of them have to be open, if I create new components they all start when I run the application?

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.