更新时间:2021-06-24 12:15:18
coverpage
Title Page
Copyright and Credits
Electron Projects
Dedication
About Packt
Why subscribe?
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
Release cycle note
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
Building Your First Electron Application
Technical requirements
What is Electron?
Preparing a development environment
Installing Visual Studio Code
Installing Visual Studio Code for Ubuntu
Setting up the environment for macOS
Installing Git on macOS
Installing Node.js on macOS
Setting up the environment for Ubuntu Linux
Installing Git on Ubuntu
Installing Node.js on Ubuntu
Setting up the environment for Windows
Installing Git on Windows
Installing Node.js on Windows
Verifying the installation
Creating a simple application
Packaging for multiple platforms
Packaging for macOS
Packaging for Ubuntu
Packaging for Windows
Summary
Building a Markdown Editor
Configuring a new project
Integrating the editor component
Fitting the screen size
Integrating the application menu
Creating a custom menu item
Defining menu item roles
Providing menu separators
Supporting keyboard accelerators
Supporting platform-specific menus
Configuring the application name in the menu
Hiding menu items
Sending messages between processes
Introducing editor-event
Sending confirmation messages to the main process
Sending messages to the renderer process
Wiring the toggle bold menu
Saving files to a local system
Using the save dialog
Loading files from a local system
Creating a file menu
Adding drag and drop support
Supporting automatic updates
Testing automatic updates
Changing the title of the application
Integrating with Angular React and Vue
Building an Electron application with Angular
Generating our Angular project scaffold
Integrating the Angular project with Electron
Configuring Live Reloading
Why test in the browser?
Setting up production builds
Setting up conditional loading
Using Angular Material components
Modifications made by installing Angular Material
Adding the Material Toolbar component
Angular routing
Building an Electron application with React
Generating a React project
Live reloading
Using the Blueprint UI toolkit
Adding an application menu
Adding routing
Final touches
Building an Electron application with Vue.js
Creating a Vue configuration file
Production builds
Configuring Vue Material
Creating an application toolbar