2025-01-01 02:25:18 +08:00
|
|
|
# electron-lan-file
|
2021-07-19 17:36:48 +08:00
|
|
|
|
2025-01-01 02:25:18 +08:00
|
|
|
An Electron application with Vue and TypeScript
|
2024-05-14 18:11:54 +08:00
|
|
|
|
2025-01-01 02:25:18 +08:00
|
|
|
## Recommended IDE Setup
|
2024-12-07 12:02:54 +08:00
|
|
|
|
2025-01-01 02:25:18 +08:00
|
|
|
- [VSCode](https://code.visualstudio.com/) + [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin)
|
2024-12-01 16:28:26 +08:00
|
|
|
|
2025-01-01 02:25:18 +08:00
|
|
|
## Project Setup
|
2024-12-25 19:59:58 +08:00
|
|
|
|
2025-01-01 02:25:18 +08:00
|
|
|
### Install
|
2024-12-07 11:38:56 +08:00
|
|
|
|
2024-05-21 10:16:30 +08:00
|
|
|
```bash
|
2025-01-01 02:25:18 +08:00
|
|
|
$ npm install
|
2024-05-21 10:16:30 +08:00
|
|
|
```
|
2024-12-07 11:38:56 +08:00
|
|
|
|
2025-01-01 02:25:18 +08:00
|
|
|
### Development
|
2024-05-21 10:16:30 +08:00
|
|
|
|
2025-01-01 02:25:18 +08:00
|
|
|
```bash
|
|
|
|
|
$ npm run dev
|
2024-12-07 11:38:56 +08:00
|
|
|
```
|
2024-05-14 18:11:54 +08:00
|
|
|
|
2025-01-01 02:25:18 +08:00
|
|
|
### Build
|
2024-12-07 22:32:06 +08:00
|
|
|
|
2025-01-01 02:25:18 +08:00
|
|
|
```bash
|
|
|
|
|
# For windows
|
|
|
|
|
$ npm run build:win
|
2024-12-07 22:32:06 +08:00
|
|
|
|
2025-01-01 02:25:18 +08:00
|
|
|
# For macOS
|
|
|
|
|
$ npm run build:mac
|
2024-05-14 18:11:54 +08:00
|
|
|
|
2025-01-01 02:25:18 +08:00
|
|
|
# For Linux
|
|
|
|
|
$ npm run build:linux
|
|
|
|
|
```
|