Native Desktop Apps with Angular and Electron

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024
  • Build native desktop apps with Angular 4 and Electron 1.7. In this lesson I create a simple timer app, then package it for Windows, MacOS, and Linux. Full Lesson at angularfirebas...
    Source Code: github.com/Ang...
    Electron: electron.atom.io/
    Angular: angular.io

ความคิดเห็น • 170

  • @abersichimichi7411
    @abersichimichi7411 2 ปีที่แล้ว +13

    if the command "npm run electron-build" doesnt work, try changing the line "electron-build" in "package.json" to "ng build --configuration production"

  • @tanujgyan787
    @tanujgyan787 5 ปีที่แล้ว +4

    This is fantastic and I had to pause a couple of times to see but still if someone wants to see how things work in a short time the video is awesome. Keep up the great work!

  • @daniel-choi
    @daniel-choi 4 ปีที่แล้ว +4

    Some fixes for Angular 9. Got it completely working, but don't remember everything I did. also did the edits mentioned by the other comment for Angular 8
    Also make sure to check the stylesheet from the github, since thats pretty important. Think he used Bulma as well.
    1. Changes in imports
    import { interval } from 'rxjs'
    import { takeWhile, tap } from 'rxjs/operators'
    2. changes in the start() function
    // can't name interval anymore since we're importing interval instead of Observable.interval
    const duration = interval(100);
    duration.pipe(
    takeWhile(_ => !this.isFinished),
    tap(i => this.current += 0.1))
    .subscribe();
    )

  • @char3tek
    @char3tek 6 ปีที่แล้ว +47

    When they copy-past-blast through the code it makes me feel insecure as a programmer.

    • @willlane805
      @willlane805 3 ปีที่แล้ว +4

      dont worry he already wrote out the code before, you can see him just paste it in

    • @inner.inspire
      @inner.inspire 3 ปีที่แล้ว

      The code in this kind of videos is pre-made so viewers don't get annoyed

    • @acerIOstream
      @acerIOstream 3 ปีที่แล้ว +3

      I think they have their files open and they delete stuff from it, then Ctrl+Z through the files.

    • @char3tek
      @char3tek 3 ปีที่แล้ว +1

      @@acerIOstream aaaaaaaaah. That would be pretty clever.

    • @richardmarin2538
      @richardmarin2538 2 ปีที่แล้ว +3

      It's mostly just his style. He moves very fast through things, because his idea is you can stop and slow down if you need to, but he shouldn't force you to slow down if you don't have to. So a 10 min vid from Fireship could easily be a 40 min tutorial from someone else. He's just going that fast.

  • @ruudhermans4243
    @ruudhermans4243 5 ปีที่แล้ว +2

    If you are getting errors running the App (something about MIME), change the target platform in tsconfig to es5.

  • @jmac217x
    @jmac217x 7 หลายเดือนก่อน +1

    this is pretty far out of date by now, just to name a few locations where this has changed: `rxjs/Observable` is just `rxjs`, the dist location has slightly changed `/dist/angular-electron/browser/index.html`, to even be given a app.module.ts file you have to use the `ng new my-app --no-standalone` flag, `ng build --prod` is now `ng build --configuration production` in the electron-build script. Those are just the corrections I made before finally giving up on this one. love and respect

  • @bulliboogah
    @bulliboogah 5 ปีที่แล้ว +1

    Great video! I love the pace. Short and to the point.

  • @sierragutenberg
    @sierragutenberg 6 หลายเดือนก่อน +1

    I miss the old Fireship, iconic 😢

  • @m4tt72
    @m4tt72 6 ปีที่แล้ว +1

    in package.json if you want electron to build and run make sure it's "electron-build": "ng build --prod && electron . "

  • @kev9220
    @kev9220 6 ปีที่แล้ว +11

    What is the background music? Sounds very great.

    • @kunalr_ai
      @kunalr_ai 3 ปีที่แล้ว

      Please reply

  • @MakoNext
    @MakoNext 5 ปีที่แล้ว

    oh god why aren't all youtube tutorials like this?? love it, straightforward and exciting!

  •  6 ปีที่แล้ว +6

    If you have the error "Not allowed to load local resource:..." for the index.html method, change the win.loadURL method. Require 'path' and 'url' libraries first and then use this method instead:
    win.loadURL(url.format({
    pathname: path.join(__dirname, 'dist/index.html'),
    protocol: 'file:',
    slashes: true
    }))

    • @Fireship
      @Fireship  6 ปีที่แล้ว

      Thanks for sharing this fix!

    • @LaurenceNyein
      @LaurenceNyein 6 ปีที่แล้ว +1

      how do i declare the url?

    • @LaurenceNyein
      @LaurenceNyein 6 ปีที่แล้ว +2

      Got it. I needed these to import at the top.
      const url = require('url');
      const path = require('path');

    • @LaurenceNyein
      @LaurenceNyein 6 ปีที่แล้ว +1

      Thanks got same problem and your solution is the only thing that works out of many i have tried.

    • @franciscopizarro2632
      @franciscopizarro2632 6 ปีที่แล้ว

      Hi there! I´ve got the error and I´ve applied your fix, the problem persists tho... I´m working with Angular 6, the code should work anyway, shouldn´t it?

  • @miteshkhandelwal4790
    @miteshkhandelwal4790 4 ปีที่แล้ว +1

    problems I encountered while making this project as described in the video and their solutions :
    1. remember that you have to keep main.js at the package.json level and index.html inside the src folder.
    2. faced some errors due to my typing mistakes like the spelling of 'BrowserWindow' and 'loadURL'
    3. while giving the path in main.js , I found that the way paths are written in the video is not working for me . for me following way worked :
    const url = require("url");
    const path = require("path");
    win = new BrowserWindow({
    width:600,
    height: 600,
    backgroundColor: '#fffff',
    icon: `${__dirname}\\dist\\assets\\logo.png`
    })
    and instead of win.loadURL(`file://${__dirname}/dist/index.html`)
    use :
    win.loadURL(
    url.format({
    pathname: path.join(__dirname, `/dist/index.html`),
    protocol: "file:",
    slashes: true
    })
    );
    (the OS that I am using is windows 8.1)
    4. remember that you have to use back ticks while giving paths instead of normal quotes
    5. Initially I didn't know that what __dirname does , later I realized that it gives the value of the path automatically
    6.in package.json > script>electron-build , update the command to "ng build --prod && electron ."
    at the end I would like to say thanks to @fireship for making this video , and also thanks to @robertWalter , @brianWright , @georgeHatoutsidis for their comments , and @pravin bhai for recommending this video to me.

    • @MrAnindyabanerjee
      @MrAnindyabanerjee 2 ปีที่แล้ว

      Hey Mitesh. Thank you so much for sharing this. I'm still having trouble in the _dir part. Getting error file not found. I thinking, I haven't properly put the file directory. Could you PLEASE put a real time example for that line??

  • @fatalskull8954
    @fatalskull8954 8 หลายเดือนก่อน

    very nice but I cant seem to use this method using TS. I want TS, not js.

  • @darknevin
    @darknevin 6 ปีที่แล้ว +4

    This is what I needed! short, precise and straight to the point! Any advice that you can give me if I already started my electron project and I wanna use angular with it? For the nested/routed components, is it the same routing for angular?

  • @ManishKumar-np8rz
    @ManishKumar-np8rz 6 ปีที่แล้ว +3

    I love this video. I'm a web developer and trying to get involved with desktop apps development. Is it possible to display an app running on desktop (written in any language, say VB or C++) inside electron (in one of renderer process) ? It'll be like woking on native desktop app but inside electron renderer process (chromium window). For example in its simplest form: we all use notepad as a separate application. What if we open an electron app and in one of the renderer process window we have same notepad (notepad.exe) and should be able to perform all operation (read/write).
    Please let me know if this something I should be even thinking about? If so then what should be the right direction I must be moving on.
    Thanks much for help :) happy coding

  • @minute_illimitee
    @minute_illimitee 6 ปีที่แล้ว

    for structured application thought to get the file css on git
    to have colored buttons it is necessary to copy /paste the address of the bootstrap dependency on scr / index.html

  • @therealherbzy
    @therealherbzy ปีที่แล้ว

    Id be interested in an updated version of this video

  • @redbelettetgv2079
    @redbelettetgv2079 4 ปีที่แล้ว +3

    Thank you for this videos, really impressive. I love the combination of angular and electron. Did you thing that i can use spring-boot for the backend treatment ?

    • @SisirKumarPathy
      @SisirKumarPathy 3 ปีที่แล้ว +1

      As long as the springboot backend returns a JSON responce, its possible

    • @redbelettetgv2079
      @redbelettetgv2079 3 ปีที่แล้ว

      @@SisirKumarPathy i confirme it. I developped a small app that embeds a springboot on startup and it s work fine

  • @dineshpaskaran
    @dineshpaskaran ปีที่แล้ว

    Thx :) great and short video. Helped alot to get in touch with electron.

  • @MercyFromOverwatch2
    @MercyFromOverwatch2 2 ปีที่แล้ว

    Jeff is my favourite tech youtuber!

  • @frankdeza3432
    @frankdeza3432 6 ปีที่แล้ว +1

    Great tutorial !!!!!!! please, please !! can you show a example of compilation using "electron-builder"

  • @beforth
    @beforth 6 ปีที่แล้ว

    typescript is there to help you, you just have to specify the types.

  • @melanycordova9601
    @melanycordova9601 6 ปีที่แล้ว +1

    Nice work, helped a lot, I have a question, Are electron apps compiled?, Can the app be decompiled ones compiled?

    • @gmansi
      @gmansi 6 ปีที่แล้ว

      medium.com/how-to-electron/how-to-get-source-code-of-any-electron-application-cbb5c7726c37
      Check this link

  • @snehashischattopadhyay9519
    @snehashischattopadhyay9519 6 ปีที่แล้ว

    Brilliant video! Electron is so cool. Any other document or blog which can list down the pros and cons of using this library?

  • @aksharkashyap5492
    @aksharkashyap5492 5 ปีที่แล้ว +3

    Sir Please make a video with python backened.

  • @ikismail7
    @ikismail7 6 ปีที่แล้ว

    Great Work, were learning a lot from you. Thanks.

  • @RoughSubset
    @RoughSubset 7 ปีที่แล้ว +1

    Liked and subbed! Awesome tutorial dude thanks. What color theme are you using in VS code?

    • @Fireship
      @Fireship  7 ปีที่แล้ว

      atom one dark w/ vscode icons

    • @RoughSubset
      @RoughSubset 7 ปีที่แล้ว

      Thanks a lot

  • @abersichimichi7411
    @abersichimichi7411 2 ปีที่แล้ว

    if the command "npm run electron" didn't work, try changing the line "main" in "package.json" to ".src/main.js"

  • @mehbubearman1596
    @mehbubearman1596 11 วันที่ผ่านมา

    Do you know how I can make the reload work in electron? If I reload the page, it takes me to a white screen

  • @derenard
    @derenard 6 ปีที่แล้ว +3

    If you try to run this and the angular boilerplate app (for example angular 6 cli generated app) doesn't load into the window, try uncommenting the win.webContents.openDevTools() line. Your url is probably not correct.

  • @funkizer
    @funkizer 7 ปีที่แล้ว +11

    Great vids but sometimes I find myself rewinding or pausing just to give myself a few sec to ingest what you said. So the tempo is just a tad too high for me personally, could be slightly slower and less ad/hd at some points. Give it a second to sink in every now and then.

    • @marekszczepanski7493
      @marekszczepanski7493 7 ปีที่แล้ว +7

      IMO this is major advantage of those videos. You can pause or press left arrow when needed, but when you need to recap information the speed is more than perfect.

    • @JavierArocena
      @JavierArocena 6 ปีที่แล้ว +1

      I am fully in agreement with Marek

    • @Askaholic907
      @Askaholic907 6 ปีที่แล้ว

      The tempo is great. I’d rather pause than have to scroll through a 30 minute video to try finding the section I need again.

  • @iodaysi7925
    @iodaysi7925 6 ปีที่แล้ว

    Like you'r videos ,they helps me.What's the operating system you use?What's distrib of linux?

    • @Fireship
      @Fireship  6 ปีที่แล้ว

      Thank you! Ubuntu 16.04

  • @kiambojyms2196
    @kiambojyms2196 6 ปีที่แล้ว +1

    This is very good but how would solve the issue of blank white screen everytime you reload the app

    • @gmansi
      @gmansi 6 ปีที่แล้ว

      www.christianengvall.se/electron-white-screen-app-startup/
      Electron white screen app startup

  • @thegeek4368
    @thegeek4368 2 ปีที่แล้ว

    hey, it is showing something different app from my side in the start
    it is not showing the angular page but the electron page

  • @amitkulkarni2314
    @amitkulkarni2314 6 ปีที่แล้ว +1

    Really nice video and very helpful​. Can you make one with electron and react?..

  • @AB-ie3me
    @AB-ie3me 7 ปีที่แล้ว

    awesome video ! can you make a tutorial of electron with sqlite3 please ?

  • @karthikeyanrm3446
    @karthikeyanrm3446 3 ปีที่แล้ว

    Hi a small doubt - can a widget application/pop up notification be made using electron with java/spring as back end..please let me know. I would like to create an app which notifies users about as soon as a batch job fails, basically it alerts the user by coming as a pop up in notification tray and also show in desktop widget. Please suggest tech stack or how to implement this. Thanks in advance.

  • @zzjuandaaz
    @zzjuandaaz 3 ปีที่แล้ว

    I get i white page, i think is by the index.html and te build, what i have to do?

  • @Alin-xj1yy
    @Alin-xj1yy 3 หลายเดือนก่อน

    Setting href='./' breaks the routing when using ng serve

  • @PauloCandidoM
    @PauloCandidoM 4 ปีที่แล้ว

    Hi, how do you automate the text input, is it macros? an extension? a third-party software?

  • @bigdogsmallman
    @bigdogsmallman 6 ปีที่แล้ว +1

    Mine is not working. I noticed that on the command line it says " ng build --prod" , while yours says " ng build --prod && electron ." ... Could someone explain why it isn't running the second command of electron . ? ... I was also able to run it on the web using the localhost url. And I get the same results above.

    • @bma10bma48
      @bma10bma48 6 ปีที่แล้ว +1

      Hi there
      change this in your json file
      "electron": "electron .", //

  • @omkarsutar5069
    @omkarsutar5069 6 ปีที่แล้ว

    Nice 1.... Please tell how can we use Angular4 Routing in this electron app?

  • @vishalsahare3586
    @vishalsahare3586 ปีที่แล้ว

    but after buid we want to go to build folder for star can have any idea how to install this exe file

  • @louiscoetzee7744
    @louiscoetzee7744 5 ปีที่แล้ว

    Hi nice video. Thanks for sharing. When and where did you create the dist/index.html? When I run I get loading... on a white page. how do I get it to load my components?

    • @louiscoetzee7744
      @louiscoetzee7744 5 ปีที่แล้ว +1

      I don't think this tutorial works well with the latest version :(

  • @king.millz.5829
    @king.millz.5829 4 ปีที่แล้ว

    Nice thanks TEAM 👍👊💪

  • @nasirsiraj416
    @nasirsiraj416 4 ปีที่แล้ว

    great video sir.

  • @eugy2008
    @eugy2008 2 ปีที่แล้ว

    Does Electron have access to desktop's camera/webcam?

  • @ncteam6323
    @ncteam6323 4 ปีที่แล้ว

    I have some doubts 1. Can I capture automatic screenshot
    every x seconds 2. Can I know the app and domain usage like domain.com spend 5 hours, photoshop spend 2 hours, skype 30
    minutes.like that

  • @naveenbangwal_dev
    @naveenbangwal_dev 3 ปีที่แล้ว

    Can I run electron desktop app exe file stand alone? Or I need all the files in the folder/directory to run the app in other system which do not have angular and electron installed on it?

  • @TechnoProgramming
    @TechnoProgramming 3 ปีที่แล้ว

    Hey!
    Why after I type import { Observable } from 'rxjs/observable'; make error in { Observable }.
    Please answer me as soon as possible.
    Thank you,

  • @yasoobhamid683
    @yasoobhamid683 5 ปีที่แล้ว

    How can i change the electron title bar and menu on windows ??
    and how can i change the color of my title bar and how to customize it???

  • @Gpe4ka
    @Gpe4ka 7 ปีที่แล้ว

    how to work with node modules with angular/cli in electron app? (fs, path, ... etc.)

  • @talebmohammedhousseyn6054
    @talebmohammedhousseyn6054 4 ปีที่แล้ว

    please can you add a tutorial to this using jhipster angular generated app
    this could be really helpfull

  • @tientcheu
    @tientcheu 7 ปีที่แล้ว

    You really got useful tutos

  • @atlantic_love
    @atlantic_love ปีที่แล้ว +1

    One of these days someone will create an installable "container" that allows you to just drop in folders containing whatever code (and type of code) you want to run, and it will just "run" without all the dumb configuration of files to get something stupid like Electron to run it.

  • @MarcosCavalcanteBarboza
    @MarcosCavalcanteBarboza 6 ปีที่แล้ว +3

    Has anyone had problems with Angular 5 - "@angular/core": "^5.0.0" ? The project compiles and the desktop app gets created, but there is no image or text on the app (no content whatsoever).
    code: github.com/marcosmcb/angular-electron

    • @sefabaser
      @sefabaser 6 ปีที่แล้ว

      i have the same

    • @rodrigorubio3498
      @rodrigorubio3498 6 ปีที่แล้ว

      Same with moi! did ou end up fixing the issue?

    • @rodrigorubio3498
      @rodrigorubio3498 6 ปีที่แล้ว

      Got mine working by adding the "." at the end "electron-build": "ng build --prod && electron ."

    • @kayodeanthony7019
      @kayodeanthony7019 6 ปีที่แล้ว

      also in the index.html file if you look in the developer tools you might see that it can't find a bunch of files.

  • @shaneumayanga6189
    @shaneumayanga6189 5 ปีที่แล้ว

    Hi i have a small problem, after building the executable using electron builder the whole source is open, I mean anyone can go into the resources folder and edit the code and change the app! Is there any method of building the app into a single executable or hiding the source?
    Thanks :-)

  • @sskdev5116
    @sskdev5116 7 ปีที่แล้ว

    This is great but how to do it with node modules and REST Api

  • @zzjuandaaz
    @zzjuandaaz 3 ปีที่แล้ว

    Really, is very easy, i will tried it!!

  • @LarsKniep
    @LarsKniep 7 ปีที่แล้ว

    Is it possible to 'npm run electron-build' every time webpack compiles?

  • @ratio3bet423
    @ratio3bet423 7 ปีที่แล้ว +25

    Omg. 200mb+ ....

    • @Fireship
      @Fireship  7 ปีที่แล้ว +1

      This can be optimized of course, but that's one of the tradeoffs of using a framework like electron. github.com/electron/electron/issues/2003

    • @RoughSubset
      @RoughSubset 7 ปีที่แล้ว +8

      It's a desktop app dude, so what, nothing needs to be transferred over the wire. If was needed to load every time as a web app then I'd worry.

    • @tno2007
      @tno2007 7 ปีที่แล้ว +2

      if zipped comes to 30MB! Now what was that you were saying?!

    • @junehanabi1756
      @junehanabi1756 6 ปีที่แล้ว +5

      1) NodeJS is not in any way a web server or intended to be used strictly on the server, that's a misunderstanding that came about given it was one of the first ways people used NodeJS and tons of people just assumed that. many articles were since written that it's original purpose was not a web server.
      2) Yes it is suppose to supplement it, also scientifically anything new is hipster by definition, as-in all human progress in the day-in-age it was created. I don't disagree that web development does have a large memory footprint but as with anything in computing or humanity in general theres tradeoffs on virtually anything you say, do, make, or use.
      If your goal is to make the most efficient memory-conservative app cross-platform then you really need to be using native tools of the operating system along with an operating system compiler - that's the best way to make the most efficient app. However the tradeoff is cost, lots and lots and lots of cost. It requires you to create completely separate projects in possibly completely separate languages (sometimes, like MacOS) and use completely different API's and frameworks, and tools, and compilers where your trying to at least try to share as much code as you can. Then you have to maintain all these code bases, keep them optimized in their own way (That was the original purpose of going this route) and send out updates, fix bugs (given your able to locate them), the list goes on. Of course you have to master all these tools as well. Up til now humanity didn't really have much of a choice. You can use various cross-platform solutions that are still more optimized but it still requires quite a lot of work (In many cross-platform solutions for example the round progress bar would have to be manually drawn in GUI code and anything manually drawn introduces extra complications by far and large) ---- Qt would probably be the most ideal compiled code but it still has a memory footprint and it's packaged version can be enormously huge.
      Javascript offers the tradeoff of size and memory footprint, I agree, but companies are using it on desktops because your average computer can handle it much better and look at the advantages. One single code base that's fairly small and simple can run anywhere, on any platform, on any version of web browser, in any web browser, on any computer going back to the first web browsers ever made. It can turn on and off features, adapt, and flex to any environment...... That's why it's taking off. The cost is simply not remotely on the same level. Instead of dealing with font metrics and such you can just use css to say "Make this font big and look like this" all in less than 3 lines and it will work anywhere that supports those 3 lines on any resolution, device, display, you name it....
      3) Javascript is a compiled programming language like any other programming language (Assuming you don't think Javascript is still interpreted using the old traditional model from the 90's, javascript code now runs pretty close to C code and I've seen cases where it long supasses some C code in speed ) You are correct in that Javascript doesn't use typesafety or have such concepts but it's not the only language that doesn't do that and there have been plethoras upon plethoras of programs written in traditional Javascript that run just fine. Your argument is invalid and again there are other languages that do this as well and they've been host just as well to lots of written programs that worked just fine. Theres no one right way to program, it's all machine code at some point. Just as type safety is great it also had it's drawbacks like anything else, arguments can be made for and against it and there lots of successful projects that use both typesafety and non-typesafety code.

    • @DxBlack
      @DxBlack 6 ปีที่แล้ว

      "Hipster"'s first usage dates back to the 1940's...it's pretty damn old.

  • @yannisgoogleapps9249
    @yannisgoogleapps9249 3 ปีที่แล้ว

    How do you make a .deb file out of it and how do you make an installation wizard?

  • @qhameem
    @qhameem 5 ปีที่แล้ว

    What's that font you're using in VSCODE?

  • @piotr.wozniak
    @piotr.wozniak 2 ปีที่แล้ว

    Super useful

  • @blaze738
    @blaze738 4 ปีที่แล้ว

    Is there a way to access NeDB directly from angular app?

  • @stosyst
    @stosyst 6 ปีที่แล้ว

    i tried this tutorial with angular 6 and electron 2.0, the app build successfully but exits automatically without launching. any idea on this please

  • @ergyan300
    @ergyan300 3 ปีที่แล้ว

    Is this app still able to debug in vscode ?

  • @holdenvrdriver
    @holdenvrdriver 4 ปีที่แล้ว

    It's a 200MB mac application! Wow! Is that normal? and can it be shrunk??

  • @jannieimmelman2658
    @jannieimmelman2658 7 ปีที่แล้ว

    Great video !

  • @sidwar
    @sidwar 3 ปีที่แล้ว

    what is the command for linux

  • @jetamtskheta
    @jetamtskheta 3 ปีที่แล้ว

    Can I somehow reach auto recompiling and reloading electron on code change, like I do with "ng serve"?

    • @problemchild959
      @problemchild959 3 ปีที่แล้ว

      try this, I use it and it works well and its updated to angular 11 and electron 10 and works out of the box for me. just do like the repo says and only use npm, I tried yarn just to see and I started getting a bunch of type errors in the dev console.
      github.com/maximegris/angular-electron

  • @victormamede7004
    @victormamede7004 4 ปีที่แล้ว

    why does it run "electron" after "electron-build" in 3:25?

  • @nadimshah9668
    @nadimshah9668 3 ปีที่แล้ว

    When I open the .exe file it throws javascript error.

  • @ronmiller7916
    @ronmiller7916 7 ปีที่แล้ว

    Win10 only? Will it run on Win7? I have an 8k network of win7 machines with no plans for a Win upgrade in the near future. We may be moving to another OS but for the near future(1.5 years) we are on Win7 64bit.

    • @Fireship
      @Fireship  7 ปีที่แล้ว

      It should run on windows7-64bit. github.com/electron-userland/electron-packager#supported-platforms

    • @tno2007
      @tno2007 7 ปีที่แล้ว

      Yes works on 7, just tested today

  • @WashingtonMoreira
    @WashingtonMoreira 6 ปีที่แล้ว

    How to make angular component interact with electron?

  • @kelthuzal
    @kelthuzal 7 ปีที่แล้ว

    thanks for sharing bro, really great vdo :)

  • @melpacheco9288
    @melpacheco9288 7 ปีที่แล้ว

    Love this channel!!!

  • @adityachaudhry1227
    @adityachaudhry1227 6 ปีที่แล้ว

    Can I use this method with vue.js ?? If possible how ??

  • @oleersoy6547
    @oleersoy6547 6 ปีที่แล้ว

    "ng build --prod && electron". Exclude the `.` after electron.

  • @gamebot0104
    @gamebot0104 3 ปีที่แล้ว

    How to package it for ubuntu?

  • @kayodeanthony7019
    @kayodeanthony7019 6 ปีที่แล้ว

    why does he put the dot after angular-electron? as in "angular-electron ." he does it in the package.json as well in "electron": "electron ."

    • @alibadr1765
      @alibadr1765 6 ปีที่แล้ว

      to specify that the command should run at the current directory, so it's the same if you just type:
      electron {{file path}}

  • @surc_
    @surc_ 5 ปีที่แล้ว

    Is it really native? Or just regular "web view" electron

  • @chloelee5405
    @chloelee5405 4 ปีที่แล้ว

    why do you pronounce compilation as in compilaeetion or something like that.

  • @saravananr7681
    @saravananr7681 6 ปีที่แล้ว

    Great video!!!!

  • @hrishikeshaware4271
    @hrishikeshaware4271 4 ปีที่แล้ว

    Thanks a lot man....

  • @robiparvez
    @robiparvez 5 ปีที่แล้ว

    awesome 👍

  • @godstar5786
    @godstar5786 6 ปีที่แล้ว

    Thank you!!!

  • @dr.d3600
    @dr.d3600 7 ปีที่แล้ว

    so useful! thx.

  • @simonulrichkam9657
    @simonulrichkam9657 5 ปีที่แล้ว

    loved the video

  • @tinashecheuka7874
    @tinashecheuka7874 5 ปีที่แล้ว

    kiki, do you love him? his the greatest..there might never ever be anyone like him.....his my tutor and I am down with him always

  • @ibrahimqassem2254
    @ibrahimqassem2254 4 ปีที่แล้ว

    This is really help 👍🏼

  • @hbela1000
    @hbela1000 7 ปีที่แล้ว

    Cool, thx.

  • @josephwu9455
    @josephwu9455 6 ปีที่แล้ว

    This is awesome!

  • @renixmar3373
    @renixmar3373 5 ปีที่แล้ว

    man, you got right to the point nd are quick, that's great
    Too bad this tutorial is wrong

  • @ruthh.gilbreath4155
    @ruthh.gilbreath4155 6 ปีที่แล้ว

    66MB for hello world app? m'i doing something wrong ?

    • @gmansi
      @gmansi 6 ปีที่แล้ว

      No, is normal. One of the weak point of Electron

  • @jessicawinslet684
    @jessicawinslet684 4 ปีที่แล้ว

    wow this instructions are so vague ... might as well read through the documentation ... moving to the next video, you might want to think about taking some lessons on instructional design

  • @kevinoca156
    @kevinoca156 7 ปีที่แล้ว

    Hi, This is the best tutorial for angular 2 with electron that i've seen by far... but, when i get the .exe i cannot move into other folders or it won't get executed because some dlls are missing...-Thank you.

    • @gunitakon
      @gunitakon 6 ปีที่แล้ว

      Don't move the .exe file around. Just make a shortcut to the file and move that around.

  • @LazerNR
    @LazerNR 6 ปีที่แล้ว

    the build command is supposed to be " "electron-build": "ng build --prod && electron ."" u forget the 2nd half when showing it and had it addeed when executing. i was wondering why the hell my shit wasnt poppin up.

  • @nechar-joshi
    @nechar-joshi 6 ปีที่แล้ว

    Is it only me? I couldn't install electron into a freshly generated angular project.