|
1 | | -# Vue 3 + TypeScript + Vite |
| 1 | +<p align="center"><img src="public/icon.svg" width="100" height="100"></p> |
| 2 | +<h1 align="center">Flow Message</h1> |
2 | 3 |
|
3 | | -This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more. |
| 4 | +<div align="center"> |
4 | 5 |
|
5 | | -## Recommended IDE Setup |
| 6 | +[](https://github.com/ProgramCX/flow_im_app/stargazers) |
| 7 | +[](https://github.com/ProgramCX/flow_im_app/blob/main/LICENSE) |
| 8 | +[](#) |
| 9 | +[](#) |
6 | 10 |
|
7 | | -- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). |
| 11 | +</div> |
8 | 12 |
|
9 | | -## Type Support For `.vue` Imports in TS |
| 13 | +> |
10 | 14 |
|
11 | | -TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types. |
| 15 | +English | [中文](README-zh.md) |
12 | 16 |
|
13 | | -If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps: |
| 17 | +## Introduction |
14 | 18 |
|
15 | | -1. Disable the built-in TypeScript Extension |
16 | | - 1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette |
17 | | - 2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)` |
18 | | -2. Reload the VSCode window by running `Developer: Reload Window` from the command palette. |
| 19 | +Flow Message is a cross-platform instant messaging software based on Vue3.x and Electron, designed to provide users with a secure, fast, and stable communication environment. It supports multiple platforms including Windows, macOS, and Linux. |
| 20 | + |
| 21 | +## Features |
| 22 | + |
| 23 | +- **Cross-Platform Support**: Enjoy a consistent experience on Windows, macOS, and Linux. |
| 24 | +- **Security**: Utilizes advanced encryption technology to protect your chat records and personal information. |
| 25 | +- **Fast and Stable**: Built on Electron and Vue3.x, ensuring smooth performance without lags or crashes. |
| 26 | +- **Simple and Intuitive Interface**: A clean design that makes it easy to get started. |
| 27 | +- **Multiple Chat Functions**: Supports text, images, and voice messages to meet various communication needs. |
| 28 | + |
| 29 | +## Contributing |
| 30 | + |
| 31 | +Contributions in any form—code, documentation, design, etc.—are welcome. |
| 32 | + |
| 33 | +## Installation Steps |
| 34 | + |
| 35 | +1. Clone the repository: |
| 36 | +```bash |
| 37 | +git clone https://github.com/ProgramCX/flow_im_app.git |
| 38 | +``` |
| 39 | +2. Install dependencies: |
| 40 | +```bash |
| 41 | +cd flow_im_app |
| 42 | +cnpm install # If you are in mainland China, using cnpm is recommended. |
| 43 | +``` |
| 44 | +3. Start the project: |
| 45 | +```bash |
| 46 | +npm run dev |
| 47 | +``` |
| 48 | +4. Preview the project in the browser: |
| 49 | +```bash |
| 50 | +npm run preview |
| 51 | +``` |
| 52 | +5. Build the project: |
| 53 | +```bash |
| 54 | +npm run build |
| 55 | +``` |
| 56 | +**Note**: |
| 57 | +Due to package download requirements for Electron, users in mainland China might face download issues. Please manually download the corresponding Electron package from the [Electron releases page](https://github.com/electron/electron/releases) and place it in the `electron` folder in the project root. For Windows users, it is recommended to place it in `%LOCALAPPDATA%/electron/Cache` and extract it there. |
| 58 | + |
| 59 | +After building, the installer will be generated in the `release` directory. |
| 60 | + |
| 61 | +## License |
| 62 | + |
| 63 | +Flow Message is released under the [MIT License](LICENSE). |
| 64 | + |
| 65 | +--- |
| 66 | + |
| 67 | +Thank you for using Flow Message! We look forward to your feedback and suggestions. |
0 commit comments