2026-07-03 14:40:01 +08:00
2026-05-29 17:54:01 +08:00
2026-03-27 12:16:42 +08:00
2025-12-30 09:20:30 +08:00
2025-12-30 09:20:30 +08:00
2025-12-30 09:20:30 +08:00
2025-12-30 09:20:30 +08:00
2026-05-29 17:54:01 +08:00
2026-07-03 14:40:01 +08:00
2025-12-30 09:20:30 +08:00
2025-12-30 09:20:30 +08:00
2025-12-30 09:20:30 +08:00
2025-12-30 09:20:30 +08:00
2026-05-29 17:54:01 +08:00
2025-12-30 09:20:30 +08:00
2025-12-30 09:20:30 +08:00
2025-12-30 09:20:30 +08:00
2025-12-30 09:20:30 +08:00
2026-07-03 14:33:42 +08:00
2026-05-29 17:54:01 +08:00
2025-12-30 09:20:30 +08:00
2025-12-30 09:20:30 +08:00
2025-12-30 09:20:30 +08:00
2026-01-04 09:52:08 +00:00
2026-01-06 15:49:26 +00:00
2026-01-04 09:58:06 +00:00
2026-07-03 14:33:42 +08:00
2025-12-30 09:20:30 +08:00
2026-05-29 17:54:01 +08:00
2026-03-27 12:16:42 +08:00

logo2

Admin Frontend

Getting started

Node.js (current LTS) and npm are required to run the project. To be sure about the version compatibility you can enable Node's corepack.

System Requirements

Required Node.js Version: 16.16.0. If your current version differs, follow the steps below to switch

nvm install 16.16.0
nvm use 16.16.0

Configure the .env file

# The systems default settings do not require any changes.
VUE_APP_IS_SAAS=false

# Backend API Base URL
VUE_APP_BASE_API=

# The systems default settings do not require any changes.
VUE_APP_PUBLIC_PATH=/

# The systems default settings do not require any changes.
VUE_APP_WXIMG_URL=

# The systems default settings do not require any changes.
VUE_APP_WXAUTHCALL_Url=

# The systems default settings do not require any changes.
VUE_APP_QIANKUN_ENTRY=/newpc

# Media files OSS Server URL
VUE_APP_OSS_CDN=

# Map Service API KeyUsed to configure offline store locations and retrieve store coordinates based on geographic information.
VUE_APP_MAP_KEY=

# Configurations for Hourly Delivery
VUE_APP_LOCAL_DELIVERY_DIRVER=

# Default Language VersionChinese:zhcn/English:en)
VUE_APP_DEFAULT_LANG=en

Cloud Deployment: Backend API Base URL

When deploying to a server or cloud host, login fails until VUE_APP_BASE_API points at your own backend instead of the default.

  • Which variable / file? Set VUE_APP_BASE_API in .env, or in .env.local which overrides .env and is git-ignored (recommended for per-deployment values). If it is left empty the app falls back to /, so API calls hit the frontend host itself and login fails.
  • Do I need the port? Only when the backend is reached directly on a non-standard port — the PHP API listens on 8005 by default. Behind a domain proxied by Nginx on 80/443, omit the port.
  • Rebuild after every change. VUE_APP_* variables are baked into the static bundle at build time. After editing the env file you must re-run the build for the new address to take effect. Run the build from the project root (where package.json lives); inside a container, run it in that same directory.
# Behind a domain (Nginx on 80/443) — no port needed, end with /api
VUE_APP_BASE_API=https://your-domain.com/api
# Direct public IP on a non-standard port — include the port
VUE_APP_BASE_API=http://1.2.3.4:8005/api

# Rebuild after changing the value
npm run build:b2c   # B2C
npm run build:bbc   # B2B2C

Installation

cd ECShopX_admin-frontend
npm i

Run project

# B2C Business Model
npm run dev:b2c
  
# B2B2C Business Model
npm run dev:bbc

Build packages

# B2C Business Model
npm run build:b2c
  
# B2B2C Business Model
npm run build:bbc

License

Each ECShopX source file included in this distribution is licensed under the Apache License 2.0, together with the additional terms imposed by ShopeX.

Open Software License (Apache 2.0) Please see LICENSE.txt for the full text of the Apache 2.0 license.

每个包含在本发行版中的 ECShopX 源文件,均依据 Apache 2.0 开源许可证与ShopeX商派附加条款进行授权。

开源软件许可协议Apache 2.0 —— 请参阅 LICENSE.txt 文件以获取 Apache 2.0 协议的完整文本。

Description
No description provided
Readme 62 MiB
Languages
Vue 69.7%
JavaScript 29.3%
SCSS 0.8%
Python 0.1%