Electron with Vue.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ย. 2024

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

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

    Just awesome!
    I came here with good backend experience, trying to integrate Electron with some frontend system like Vue. My frontend skills were stuck in late 90-ies. So it was a pain in the bass for almost two days... Now I have a really strong and clear boilerplate for such a joint. Thanks Andre!

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

    For those who want to change title of main window :
    - Go to public folder -> index.html
    - remove the title label
    - add in background.js the title attribute like the following line:
    win = new BrowserWindow({title: "My App"})

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

    It would be awesome to have more of videos alike this.

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

      Thanks for watching!

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

    Andre, while I appreciated the content showing Vue-Cli-3 with Electron, I want to comment on something personal. Friend, your voice is SOOOOOOO smooth. I mean VELVET - no, smoother even. Like creamery butter on white bread smooth. You were SO easy to listen to and it made learning these details SO much easier. IMO, you should 1) audition to read segments on National Public Radio; 2) DJ on a Jazz station at night; 3) record AudioBooks; 4) start a chat line where women can call you pay per minute just to talk to them $$$ (seriously, you could talk their clothes off, NK); 5) back to #3 - specialize in children's nighttime story books cuz you'll put kids right to sleep and parents will pay ANYTHING for THAT skill; 6) GET AN AGENT and audition for voice parts for Hollywood studios and Disney. I know those suggestions are probably partly off-putting because we geeks would like to be known for our brains over our bodies, but in your case, the world needs you to sell your vocal cords. ;-) Best of luck to you! Now I'm going to click "subscribe" and pray that I like your other content because I'll be listening no matter what you do. ;-)

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

      LOL... I'll stick to web development for now. Thanks for watching!

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

      You're weird.

  • @ThePakovia
    @ThePakovia 6 ปีที่แล้ว +14

    thank you, more videos with Vue please

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

      Thanks for watching! Definitely more Vue stuff coming!

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

    great video Andre! it would be great to have more videos with this plugin

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

    This saved me some time researching the plugin - thanks for the video!

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

    Great video thank you
    How can I fix the "Request header field access-control-allow-origin is not allowed by Access-Control-Allow-Headers in preflight response" in web view?
    Thank you

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

    The best video tutorials ever. Thank you!

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

      Thanks for watching!

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

    Great Video. ( which VS CODE theme are you using ??? )

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

    just personal notes: 8:16 fixe CORS error, 15:30 routes, 17:00 event listener, 19:50 hidding windows

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

    i needed the part in wich you have to build or package the project, :(

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

    Hello, can you post your vscode configuration? Which plugin are you using?

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

    @Andre Madarang Why do you insist on using Axios if fetch API is already available in the browser?

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

    Note: No CORS error would have occurred if the URI was instead included the www of www.reddit.com/r/aww.json. This endpoint does specify the Access-Control-Allow-Origin of "*"

  • @edwin-wt9uc
    @edwin-wt9uc 3 ปีที่แล้ว

    Cool video! I have a question... How child_process works in Electron to exec some command line when I pressed a button in VueJS? maybe you know of some tutorial? thanks for share your knowledge! :)

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

    Thanks for this video. what Color scheme do you use for VS Code?

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

      Material Theme.

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

    Thank you sir please upload more videos

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

      Thanks for watching!

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

      Stop calling people online "Sir" it's weird and creepy.

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

    Wish there was a plugin like this for Vite.

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

    sir i have problem with Electron with veujs, when i build it and copy that file build to another computer (macOs or window) . it's can not install. why?

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

    how to hide vertical scrollbar. Thank you

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

    Hello, I am using the electron set, the logo can use the electronic update, but when generating a build it does not create the app-update.yml and / or the latest.yml, to update the desktop application, I would like a help if possible.

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

    Great video man. I really recommend a linter though, it would have caught all your mistakes.

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

      Haha for sure. I haven't quite gotten an eslint + prettier config that I like 100%.

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

      @@drehimself if you solve this for you - a video on this topic would be quite in demand. thanks in advance

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

    Anyone else having problems running vue in electron after a build? no assets get loaded, no js/css/img files. all works well in dev but production requires it to be loaded of an http-server?

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

    Awesome video, thank you! Helped so much!

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

      Thanks for watching!

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

    It was very helpful for me, thx

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

    created hook is not getting called in image.vue. Any suggestion?

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

    Should I learn VUE.js before I getting start electron-vue ??

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

    Well done! What color theme do you use?

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

      Material Theme

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

      Yeah, I found it already. Thank you!

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

    Can you tell me how to use Less?

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

    how do you connect to sqlite database

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

    Getting errors related to property or method "post" is not defined on the instance, but referenced during the renderer. make sure property is reactive. Also error in renderer: typeError cannot read property of undefined. Cannot read property of data of undefined. Whats going on here?

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

    How about Electron.js + Nuxt.js? Do you recommend?

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

    anyone make video how to use vue-electron + serialPort Pls

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

    Great job, but dude, what's that extension (or config) that colorize your tabs ? I would think is the "bracket colorize" but i don't know how to configure it as yours,

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

      That one is rainbow indent: marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow

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

      @@drehimself thx dude :D

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

    how can i change the electronapp icon
    i m building electron app with npm run electron:build .before build where i need to change that default electonicon

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

    How to change port in eletron js

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

    sir how can i print div element using electron with vue?

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

    how can i use native nodejs modules with this plugin ? im talking about things like express and fs .
    i tried so hard to get this working with npm modules but it just wouldn't work so i ended up being stuck with vue-cdn and we all know thats no good .

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

    How to integrate with sqlite?

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

    When running npm run build:electron, the additional window which acts as the image previewer how does the browserwindow load the URL to the application when the application is loaded from a html file in production?

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

      Great question! I've added a commit to make the router work with production builds. Just tested it out with `npm run build:electron` and it works (on my mac at least): github.com/drehimself/electron-vue-example/commit/bff927bd4e2e0695471d9e74d316e9db8d95632c

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

    Can you tell me how can I implement infinite scrolling on the reddit api using axios? You're only getting the object lists from the first get request.

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

    How can I start the application using node? I need node integration for some of my used dependencies. :)

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

    Has anyone gotten Build Win requireAdministrator in package.json to work? I need to run every file in admin rights.

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

    What is the theme you’re using??

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

    Wait for Electron with Vue.js and Firebase

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

      Firebase will work the same way in any web app. I have a video on it in my Vue Todo series.

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

    Nuxtjs desktop app?

  • @航拍广州-w1e
    @航拍广州-w1e 5 ปีที่แล้ว

    Thank you

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

    Hoe to build app for multiple platform looking forward for your reply. I really need your response

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

    thanks soo muchhh!

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

    Thank you mate !

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

      Thanks for watching!

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

    Would you guys say that Vue is a-lot more compatible with electron than react?

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

      They both work well. I think it's just a matter of preference.

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

    I know this is an old video but i need some help.
    Failed to compile.
    ./src/components/HelloWorld.vue
    Module Error (from ./node_modules/eslint-loader/index.js):
    C:\programming-projects\electron-vue-example\src\components\HelloWorld.vue
    25:28 error Parsing error: Unexpected token, expected ","
    11 | axios.get("reddit.com/r/aww.json")
    12 | .then(response --> {
    > 13 | console,log(response.data.data.childern)
    | ^
    14 | })
    15 | .catch(error --> {
    16 | console,log(error)
    ✖ 1 problem (1 error, 0 warnings)

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

    Great video

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

      Thanks for watching!

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

    very cool !!!!! thks a lot!!!!

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

    Great tutorial! maybe one with Vue Graphql

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

      Thanks for watching! GraphQL is on my list of things to learn and make videos about :)

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

    thank you so much

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

      Thanks for watching!

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

    Incase you get this error
    # __dirname is not defined electron
    Check out this solution
    stackoverflow.com/questions/62777834/how-fix-dirname-not-defined-when-using-electron-events-with-vue

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

    Hi dude,
    would you like to share your vs code theme, it 's awesome and I wonder that one is it due to exploiting it.

  • @IT-Entrepreneur
    @IT-Entrepreneur 6 ปีที่แล้ว +1

    There is no reason why i should code my tools with C# and WPF when i can create beautiful apps with Electron and VUE :-o Most time i'm writing RESTful Services and HTML Frontends with Vue anyway.... Its platform indendent too... Damn

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

      Thanks for watching!

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

    Can i use nuxt with electron?

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

      I haven't tried, but I'm guessing it is possible.

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

    Thank you for your videos. Can you make it faster please? I think you're coding slowly and watching the videos i want to sleep

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

    I can not follow your videos, one better than the other. thank you

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

    2023 no funciona!!!