A start template with the latest electron and vue-cli4
The Electron-Vue template has been updated to support Vue 3 and other related versions. This new version, called vue-next-electron-template, is designed to provide a convenient and fast environment for building and learning. It includes various features such as support for the latest Electron version, compatibility with Mac M1, packaging and auto-update configurations, and the ability for render processes to use Node modules through preload.
To install the vue-next-electron-template and take advantage of its features, follow these steps:
Clone the repository to your local machine:
git clone [repository-url]
Navigate to the project directory:
cd vue-next-electron-template
Install the dependencies using pnpm:
pnpm install
Start the development server:
pnpm dev
To compile and minify for production, use the following command:
pnpm build
This will generate the production-ready files in the dist directory.
Customize the auto-update configurations in the background.js file according to your needs.
The Electron-Vue template has been updated to support Vue 3 and provide improved features and compatibility with platforms like Mac M1. With added support for packaging, auto-updating, and the ability to use Node modules in render processes, the template offers a convenient and efficient environment for building and learning. To get started, simply clone the repository and follow the installation guide provided above.