electron搭建及使用

  • j9_186179
    了解作者
  • 176.3MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-05 01:36
    上传日期
electron搭建及简单使用,将网页在electron中打开,实现效果:网站以桌面应用程序的形式打开
electron-quick-start-master -demo.rar
内容介绍
# electron-quick-start **Clone and run for a quick way to see Electron in action.** This is a minimal Electron application based on the [Quick Start Guide](https://electronjs.org/docs/tutorial/quick-start) within the Electron documentation. **Use this app along with the [Electron API Demos](https://electronjs.org/#get-started) app for API code examples to help you get started.** A basic Electron application needs just these files: - `package.json` - Points to the app's main file and lists its details and dependencies. - `main.js` - Starts the app and creates a browser window to render HTML. This is the app's **main process**. - `index.html` - A web page to render. This is the app's **renderer process**. You can learn more about each of these components within the [Quick Start Guide](https://electronjs.org/docs/tutorial/quick-start). ## To Use To clone and run this repository you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)) installed on your computer. From your command line: ```bash # Clone this repository git clone https://github.com/electron/electron-quick-start # Go into the repository cd electron-quick-start # Install dependencies npm install # Run the app npm start ``` Note: If you're using Linux Bash for Windows, [see this guide](https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/) or use `node` from the command prompt. ## Resources for Learning Electron - [electronjs.org/docs](https://electronjs.org/docs) - all of Electron's documentation - [electronjs.org/community#boilerplates](https://electronjs.org/community#boilerplates) - sample starter apps created by the community - [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - a very basic starter Electron app - [electron/simple-samples](https://github.com/electron/simple-samples) - small applications with ideas for taking them further - [electron/electron-api-demos](https://github.com/electron/electron-api-demos) - an Electron app that teaches you how to use Electron - [hokein/electron-sample-apps](https://github.com/hokein/electron-sample-apps) - small demo apps for the various Electron APIs ## License [CC0 1.0 (Public Domain)](LICENSE.md)
评论
    相关推荐
    • electron-centipede
      电子cent 使用入门。 主要代码在/src/app.js 。 引导程序功能设置游戏循环的计时器并保持游戏状态。
    • jamhouse-electron
      Jamhouse桌面应用 :backhand_index_pointing_right:
    • ElectronApp
      电子App V2 只是试图建立一些好的东西。 您会看到:P
    • Electron检测更新
      Electron基于electron-builder进行打包,运行window和Mac上实现检测更新
    • electron入门篇
      本文件讲述了Electron从入门到开发中常用的小功能。适合大家对Electron知识的入门学习和巩固基础知识。希望可以帮助到,爱学习的你。剑未佩妥,出门便是江湖,加油!
    • pluggable-electron
      可插拔Electron是一个框架,用于构建可以被其他方扩展的Electron应用程序。 :red_exclamation_mark: 注意 :red_exclamation_mark: 请注意,该项目正在积极开发中。 我会尽力使主分支保持正常运行,因此如果您有...
    • electronjs
      ElectronJS资料库 所有ElectronJS存储库在一起 []链接1
    • electron
      电子 国内NPM加速 npm config set registry ...# 检查是否安装成功 npm config list 赢得打造重要笔记使用vs2015 npm install --global --production windows-build-tools --vs2015 ...# install dependencies ...# serve
    • electron打包例子
      electron打包例子, 配合我博客中的教程使用----------------------------------------------------------------------------------------------------------------------------------------------------------------...
    • electron 源码加密
      electron 源码加密,可以让自己的项目不轻易被别人修改,保护版权