introduce
Due to the density of the project and the length of the entire article, this tutorial will be divided into three parts.
-
Part 1: Create an Electron application with VueJS
https://blog.csdn.net/iCloudEnd/article/details/125468814 -
Part 2: Connecting to the database and creating CRUD functions
https://swiftui.blog.csdn.net/article/details/131876675 -
Part 3: Build the UI and connect it with the main process with IPC
https://swiftui.blog.csdn.net/article/details/131876890
The project is available in source code at the bottom of the article
Add Sequelize and SQLite3
Sequelize is a Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite, and Microsoft SQL Server. It has solid transaction support, relations, eager and lazy loading, read replication, and more.
Let's start!
To install Sequelize, run the following command:
npm install --save seq