mirror of
https://gitee.com/ShopeX/ECShopX_desktop-frontend
synced 2026-08-12 21:15:38 +08:00
47 lines
1.2 KiB
Markdown
47 lines
1.2 KiB
Markdown
<p align="center"><img width="600" height="416" alt="logo2" src="logo.png" /></p>
|
||
|
||
### <p align="center">Desktop Frontend</p>
|
||
|
||
# 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.
|
||
|
||
### Installation
|
||
```
|
||
cd ECShopX_desktop-frontend
|
||
npm i
|
||
```
|
||
|
||
### Configure the .env file
|
||
```shell
|
||
# Page Title
|
||
VUE_APP_TITLE=
|
||
|
||
# Mobile Material Generator Redirect Domain
|
||
VUE_APP_HOST=
|
||
|
||
# Backend API Base URL
|
||
VUE_APP_API_BASE_URL=
|
||
|
||
# Default Language Version(Chinese:zhcn/English:en)
|
||
VUE_APP_DEFAULT_LANG=en
|
||
```
|
||
|
||
### Run project
|
||
```
|
||
npm run dev
|
||
```
|
||
|
||
### Build packages
|
||
```
|
||
npm run build
|
||
```
|
||
|
||
## 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 协议的完整文本。
|