You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cysamurai bd9009b833 1.呼号端callclent基本架构
2.平板导税app tax-guidance完成静态界面
9 months ago
..
.vscode 首次提交代码 11 months ago
build 首次提交代码 11 months ago
resources 首次提交代码 11 months ago
src 1.呼号端callclent基本架构 9 months ago
temp-asar 提交4 11 months ago
.editorconfig 首次提交代码 11 months ago
.env.development 第二次提交代码 11 months ago
.env.production 第二次提交代码 11 months ago
.eslintignore 首次提交代码 11 months ago
.eslintrc.cjs 首次提交代码 11 months ago
.gitignore 首次提交代码 11 months ago
.npmrc 首次提交代码 11 months ago
.prettierignore 首次提交代码 11 months ago
.prettierrc.yaml 首次提交代码 11 months ago
README.md 提交7 11 months ago
electron-builder.yml 提交8 11 months ago
electron.vite.config.ts 修改访问客制站点功能技术架构前的存档 10 months ago
package-lock.json 提交4 11 months ago
package.json 修改访问客制站点功能技术架构前的存档 10 months ago
tsconfig.json 首次提交代码 11 months ago
tsconfig.node.json 提交5 11 months ago
tsconfig.web.json 首次提交代码 11 months ago
yarn.lock 修改访问客制站点功能技术架构前的存档 10 months ago

README.md

electron-app

An Electron application with Vue3 and TypeScript

electron-version electron-vite-version electron-builder-version vite-version vue-version typescript-version

Features

  • 💡 Optimize asset handling
  • 🚀 Fast HMR for renderer processes
  • 🔥 Hot reloading for main process and preload scripts
  • 🔌 Easy to debug
  • 🔒 Compile to v8 bytecode to protect source code

Getting Started

Read documentation for more details.

You can also use the create-electron tool to scaffold your project for other frameworks (e.g. React, Svelte or Solid).

Project Setup

Install

$ npm install

Development

$ npm run dev

Build

# For windows
$ npm run build:win

# For macOS
$ npm run build:mac

# For Linux
$ npm run build:linux

Examples

Configuration

The API base URL can be configured in two ways:

  1. Production Build: Set VITE_API_BASE_URL in .env.production before building
  2. Runtime Configuration: Modify src/renderer/src/utils/config.json after installation:
    {
      "apiBaseUrl": "http://your-api-server:port/path"
    }
    

The application will first check the config file, then fall back to the environment variable.