electron - hello world

作者: maxmaxmaxma | 来源:发表于2017-06-21 15:10 被阅读28次

    1. 下载安装Node.js

    下载地址: https://nodejs.org/en/download/

    2. 运行

    node -v

    npm -v

    3. 使用淘宝镜像

    npm install-g cnpm--registry=https://registry.npm.taobao.org

    cnpm -v

    4.安装electron

    cnpm install electron -g

    5.快速开始

    #克隆这仓库

    $ git clone https://github.com/electron/electron-quick-start

    #进入仓库

    $ cd electron-quick-start

    #运行

    $ electron .

    相关文章

      网友评论

        本文标题:electron - hello world

        本文链接:https://www.haomeiwen.com/subject/njftcxtx.html