🐛 fix: update repository links and add environment configuration for admin and user apps
This commit is contained in:
parent
2c7ad08e38
commit
4c774871a8
34
README.md
34
README.md
@ -67,8 +67,8 @@ You can use Gitpod for online development:
|
|||||||
or clone it for local development:
|
or clone it for local development:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/perfect-panel/ppanel-web.git
|
git clone https://github.com/perfect-panel/frontend.git
|
||||||
cd ppanel-web
|
cd frontend
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
bun install
|
bun install
|
||||||
@ -103,36 +103,36 @@ This project is [GNU](../../LICENSE) licensed.
|
|||||||
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
||||||
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
||||||
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
||||||
[contributors-url]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[contributors-url]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-action-release-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/release.yml
|
[github-action-release-link]: https://github.com/perfect-panel/frontend/actions/workflows/release.yml
|
||||||
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-action-test-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/test.yml
|
[github-action-test-link]: https://github.com/perfect-panel/frontend/actions/workflows/test.yml
|
||||||
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-contributors-link]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[github-contributors-link]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
||||||
[github-forks-link]: https://github.com/perfect-panel/ppanel-web/network/members
|
[github-forks-link]: https://github.com/perfect-panel/frontend/network/members
|
||||||
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
||||||
[github-issues-link]: https://github.com/perfect-panel/ppanel-web/issues
|
[github-issues-link]: https://github.com/perfect-panel/frontend/issues
|
||||||
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
||||||
[github-license-link]: https://github.com/perfect-panel/ppanel-web/blob/master/LICENSE
|
[github-license-link]: https://github.com/perfect-panel/frontend/blob/master/LICENSE
|
||||||
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
||||||
[github-release-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-release-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
||||||
[github-releasedate-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-releasedate-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
||||||
[github-stars-link]: https://github.com/perfect-panel/ppanel-web/network/stargazers
|
[github-stars-link]: https://github.com/perfect-panel/frontend/network/stargazers
|
||||||
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
||||||
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/ppanel-web
|
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/frontend
|
||||||
[issues-link]: https://github.com/perfect-panel/ppanel-web/issues/new/choose
|
[issues-link]: https://github.com/perfect-panel/frontend/issues/new/choose
|
||||||
[pr-welcome-link]: https://github.com/perfect-panel/ppanel-web/pulls
|
[pr-welcome-link]: https://github.com/perfect-panel/frontend/pulls
|
||||||
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
||||||
[profile-link]: https://github.com/perfect-panel
|
[profile-link]: https://github.com/perfect-panel
|
||||||
[split]: https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png
|
[split]: https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png
|
||||||
[ppanel-user-web-github]: https://github.com/perfect-panel/ppanel-web/tree/main/apps/user
|
[ppanel-user-web-github]: https://github.com/perfect-panel/frontend/tree/main/apps/user
|
||||||
[ppanel-user-web-cover]: https://urlscan.io/liveshot/?width=1920&height=1080&url=https://user.ppanel.dev
|
[ppanel-user-web-cover]: https://urlscan.io/liveshot/?width=1920&height=1080&url=https://user.ppanel.dev
|
||||||
[ppanel-user-web-preview]: https://user.ppanel.dev
|
[ppanel-user-web-preview]: https://user.ppanel.dev
|
||||||
[ppanel-user-web-deploy]: https://vercel.com/new/clone?demo-description=PPanel%20is%20a%20pure%2C%20professional%2C%20and%20perfect%20open-source%20proxy%20panel%20tool%2C%20designed%20to%20be%20your%20ideal%20choice%20for%20learning%20and%20practical%20use&demo-image=https%3A%2F%2Furlscan.io%2Fliveshot%2F%3Fwidth%3D1920%26height%3D1080%26url%3Dhttps%3A%2F%2Fuser.ppanel.dev&demo-title=PPanel%20User%20Web&demo-url=https%3A%2F%2Fuser.ppanel.dev%2F&from=.&project-name=ppanel-user-web&repository-name=ppanel-web&repository-url=https%3A%2F%2Fgithub.com%2Fperfect-panel%2Fppanel-web&root-directory=apps%2Fuser&skippable-integrations=1
|
[ppanel-user-web-deploy]: https://vercel.com/new/clone?demo-description=PPanel%20is%20a%20pure%2C%20professional%2C%20and%20perfect%20open-source%20proxy%20panel%20tool%2C%20designed%20to%20be%20your%20ideal%20choice%20for%20learning%20and%20practical%20use&demo-image=https%3A%2F%2Furlscan.io%2Fliveshot%2F%3Fwidth%3D1920%26height%3D1080%26url%3Dhttps%3A%2F%2Fuser.ppanel.dev&demo-title=PPanel%20User%20Web&demo-url=https%3A%2F%2Fuser.ppanel.dev%2F&from=.&project-name=ppanel-user-web&repository-name=ppanel-web&repository-url=https%3A%2F%2Fgithub.com%2Fperfect-panel%2Fppanel-web&root-directory=apps%2Fuser&skippable-integrations=1
|
||||||
[ppanel-admin-web-github]: https://github.com/perfect-panel/ppanel-web/tree/main/apps/admin
|
[ppanel-admin-web-github]: https://github.com/perfect-panel/frontend/tree/main/apps/admin
|
||||||
[ppanel-admin-web-cover]: https://urlscan.io/liveshot/?width=1920&height=1080&url=https://admin.ppanel.dev
|
[ppanel-admin-web-cover]: https://urlscan.io/liveshot/?width=1920&height=1080&url=https://admin.ppanel.dev
|
||||||
[ppanel-admin-web-preview]: https://admin.ppanel.dev
|
[ppanel-admin-web-preview]: https://admin.ppanel.dev
|
||||||
[ppanel-admin-web-deploy]: https://vercel.com/new/clone?demo-description=PPanel%20is%20a%20pure%2C%20professional%2C%20and%20perfect%20open-source%20proxy%20panel%20tool%2C%20designed%20to%20be%20your%20ideal%20choice%20for%20learning%20and%20practical%20use&demo-image=https%3A%2F%2Furlscan.io%2Fliveshot%2F%3Fwidth%3D1920%26height%3D1080%26url%3Dhttps%3A%2F%2Fadmin.ppanel.dev&demo-title=PPanel%20Admin%20Web&demo-url=https%3A%2F%2Fadmin.ppanel.dev%2F&from=.&project-name=ppanel-admin-web&repository-name=ppanel-web&repository-url=https%3A%2F%2Fgithub.com%2Fperfect-panel%2Fppanel-web&root-directory=apps%2Fadmin&skippable-integrations=1
|
[ppanel-admin-web-deploy]: https://vercel.com/new/clone?demo-description=PPanel%20is%20a%20pure%2C%20professional%2C%20and%20perfect%20open-source%20proxy%20panel%20tool%2C%20designed%20to%20be%20your%20ideal%20choice%20for%20learning%20and%20practical%20use&demo-image=https%3A%2F%2Furlscan.io%2Fliveshot%2F%3Fwidth%3D1920%26height%3D1080%26url%3Dhttps%3A%2F%2Fadmin.ppanel.dev&demo-title=PPanel%20Admin%20Web&demo-url=https%3A%2F%2Fadmin.ppanel.dev%2F&from=.&project-name=ppanel-admin-web&repository-name=ppanel-web&repository-url=https%3A%2F%2Fgithub.com%2Fperfect-panel%2Fppanel-web&root-directory=apps%2Fadmin&skippable-integrations=1
|
||||||
|
|||||||
@ -67,7 +67,7 @@
|
|||||||
或者克隆项目进行本地开发:
|
或者克隆项目进行本地开发:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/perfect-panel/ppanel-web.git
|
git clone https://github.com/perfect-panel/frontend.git
|
||||||
cd ppanel-web
|
cd ppanel-web
|
||||||
|
|
||||||
# 安装依赖
|
# 安装依赖
|
||||||
@ -103,36 +103,36 @@ bun install
|
|||||||
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
||||||
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
||||||
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
||||||
[contributors-url]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[contributors-url]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-action-release-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/release.yml
|
[github-action-release-link]: https://github.com/perfect-panel/frontend/actions/workflows/release.yml
|
||||||
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-action-test-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/test.yml
|
[github-action-test-link]: https://github.com/perfect-panel/frontend/actions/workflows/test.yml
|
||||||
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-contributors-link]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[github-contributors-link]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
||||||
[github-forks-link]: https://github.com/perfect-panel/ppanel-web/network/members
|
[github-forks-link]: https://github.com/perfect-panel/frontend/network/members
|
||||||
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
||||||
[github-issues-link]: https://github.com/perfect-panel/ppanel-web/issues
|
[github-issues-link]: https://github.com/perfect-panel/frontend/issues
|
||||||
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
||||||
[github-license-link]: https://github.com/perfect-panel/ppanel-web/blob/master/LICENSE
|
[github-license-link]: https://github.com/perfect-panel/frontend/blob/master/LICENSE
|
||||||
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
||||||
[github-release-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-release-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
||||||
[github-releasedate-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-releasedate-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
||||||
[github-stars-link]: https://github.com/perfect-panel/ppanel-web/network/stargazers
|
[github-stars-link]: https://github.com/perfect-panel/frontend/network/stargazers
|
||||||
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
||||||
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/ppanel-web
|
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/frontend
|
||||||
[issues-link]: https://github.com/perfect-panel/ppanel-web/issues/new/choose
|
[issues-link]: https://github.com/perfect-panel/frontend/issues/new/choose
|
||||||
[pr-welcome-link]: https://github.com/perfect-panel/ppanel-web/pulls
|
[pr-welcome-link]: https://github.com/perfect-panel/frontend/pulls
|
||||||
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
||||||
[profile-link]: https://github.com/perfect-panel
|
[profile-link]: https://github.com/perfect-panel
|
||||||
[split]: https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png
|
[split]: https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png
|
||||||
[ppanel-user-web-github]: https://github.com/perfect-panel/ppanel-web/tree/main/apps/user
|
[ppanel-user-web-github]: https://github.com/perfect-panel/frontend/tree/main/apps/user
|
||||||
[ppanel-user-web-cover]: https://urlscan.io/liveshot/?width=1920&height=1080&url=https://user.ppanel.dev
|
[ppanel-user-web-cover]: https://urlscan.io/liveshot/?width=1920&height=1080&url=https://user.ppanel.dev
|
||||||
[ppanel-user-web-preview]: https://user.ppanel.dev
|
[ppanel-user-web-preview]: https://user.ppanel.dev
|
||||||
[ppanel-user-web-deploy]: https://vercel.com/new/clone?demo-description=PPanel%20is%20a%20pure%2C%20professional%2C%20and%20perfect%20open-source%20proxy%20panel%20tool%2C%20designed%20to%20be%20your%20ideal%20choice%20for%20learning%20and%20practical%20use&demo-image=https%3A%2F%2Furlscan.io%2Fliveshot%2F%3Fwidth%3D1920%26height%3D1080%26url%3Dhttps%3A%2F%2Fuser.ppanel.dev&demo-title=PPanel%20User%20Web&demo-url=https%3A%2F%2Fuser.ppanel.dev%2F&from=.&project-name=ppanel-user-web&repository-name=ppanel-web&repository-url=https%3A%2F%2Fgithub.com%2Fperfect-panel%2Fppanel-web&root-directory=apps%2Fuser&skippable-integrations=1
|
[ppanel-user-web-deploy]: https://vercel.com/new/clone?demo-description=PPanel%20is%20a%20pure%2C%20professional%2C%20and%20perfect%20open-source%20proxy%20panel%20tool%2C%20designed%20to%20be%20your%20ideal%20choice%20for%20learning%20and%20practical%20use&demo-image=https%3A%2F%2Furlscan.io%2Fliveshot%2F%3Fwidth%3D1920%26height%3D1080%26url%3Dhttps%3A%2F%2Fuser.ppanel.dev&demo-title=PPanel%20User%20Web&demo-url=https%3A%2F%2Fuser.ppanel.dev%2F&from=.&project-name=ppanel-user-web&repository-name=ppanel-web&repository-url=https%3A%2F%2Fgithub.com%2Fperfect-panel%2Fppanel-web&root-directory=apps%2Fuser&skippable-integrations=1
|
||||||
[ppanel-admin-web-github]: https://github.com/perfect-panel/ppanel-web/tree/main/apps/admin
|
[ppanel-admin-web-github]: https://github.com/perfect-panel/frontend/tree/main/apps/admin
|
||||||
[ppanel-admin-web-cover]: https://urlscan.io/liveshot/?width=1920&height=1080&url=https://admin.ppanel.dev
|
[ppanel-admin-web-cover]: https://urlscan.io/liveshot/?width=1920&height=1080&url=https://admin.ppanel.dev
|
||||||
[ppanel-admin-web-preview]: https://admin.ppanel.dev
|
[ppanel-admin-web-preview]: https://admin.ppanel.dev
|
||||||
[ppanel-admin-web-deploy]: https://vercel.com/new/clone?demo-description=PPanel%20is%20a%20pure%2C%20professional%2C%20and%20perfect%20open-source%20proxy%20panel%20tool%2C%20designed%20to%20be%20your%20ideal%20choice%20for%20learning%20and%20practical%20use&demo-image=https%3A%2F%2Furlscan.io%2Fliveshot%2F%3Fwidth%3D1920%26height%3D1080%26url%3Dhttps%3A%2F%2Fadmin.ppanel.dev&demo-title=PPanel%20Admin%20Web&demo-url=https%3A%2F%2Fadmin.ppanel.dev%2F&from=.&project-name=ppanel-admin-web&repository-name=ppanel-web&repository-url=https%3A%2F%2Fgithub.com%2Fperfect-panel%2Fppanel-web&root-directory=apps%2Fadmin&skippable-integrations=1
|
[ppanel-admin-web-deploy]: https://vercel.com/new/clone?demo-description=PPanel%20is%20a%20pure%2C%20professional%2C%20and%20perfect%20open-source%20proxy%20panel%20tool%2C%20designed%20to%20be%20your%20ideal%20choice%20for%20learning%20and%20practical%20use&demo-image=https%3A%2F%2Furlscan.io%2Fliveshot%2F%3Fwidth%3D1920%26height%3D1080%26url%3Dhttps%3A%2F%2Fadmin.ppanel.dev&demo-title=PPanel%20Admin%20Web&demo-url=https%3A%2F%2Fadmin.ppanel.dev%2F&from=.&project-name=ppanel-admin-web&repository-name=ppanel-web&repository-url=https%3A%2F%2Fgithub.com%2Fperfect-panel%2Fppanel-web&root-directory=apps%2Fadmin&skippable-integrations=1
|
||||||
|
|||||||
12
apps/admin/.env.example
Normal file
12
apps/admin/.env.example
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# API base URL
|
||||||
|
VITE_API_BASE_URL=
|
||||||
|
|
||||||
|
# CDN URL for static assets
|
||||||
|
VITE_CDN_URL=https://cdn.jsdmirror.com
|
||||||
|
|
||||||
|
# Enable tutorial document feature (true/false)
|
||||||
|
VITE_TUTORIAL_DOCUMENT=true
|
||||||
|
|
||||||
|
# Default login credentials (for development only)
|
||||||
|
VITE_USER_EMAIL=
|
||||||
|
VITE_USER_PASSWORD=
|
||||||
@ -61,7 +61,7 @@ You can use Gitpod for online development:
|
|||||||
or clone it for local development:
|
or clone it for local development:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/perfect-panel/ppanel-web.git
|
git clone https://github.com/perfect-panel/frontend.git
|
||||||
cd ppanel-web
|
cd ppanel-web
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
@ -115,27 +115,27 @@ This project is [GNU](../../LICENSE) licensed.
|
|||||||
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
||||||
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
||||||
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
||||||
[contributors-url]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[contributors-url]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-action-release-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/release.yml
|
[github-action-release-link]: https://github.com/perfect-panel/frontend/actions/workflows/release.yml
|
||||||
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-action-test-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/test.yml
|
[github-action-test-link]: https://github.com/perfect-panel/frontend/actions/workflows/test.yml
|
||||||
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-contributors-link]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[github-contributors-link]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
||||||
[github-forks-link]: https://github.com/perfect-panel/ppanel-web/network/members
|
[github-forks-link]: https://github.com/perfect-panel/frontend/network/members
|
||||||
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
||||||
[github-issues-link]: https://github.com/perfect-panel/ppanel-web/issues
|
[github-issues-link]: https://github.com/perfect-panel/frontend/issues
|
||||||
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
||||||
[github-license-link]: https://github.com/perfect-panel/ppanel-web/blob/master/LICENSE
|
[github-license-link]: https://github.com/perfect-panel/frontend/blob/master/LICENSE
|
||||||
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
||||||
[github-release-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-release-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
||||||
[github-releasedate-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-releasedate-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
||||||
[github-stars-link]: https://github.com/perfect-panel/ppanel-web/network/stargazers
|
[github-stars-link]: https://github.com/perfect-panel/frontend/network/stargazers
|
||||||
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
||||||
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/ppanel-web
|
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/frontend
|
||||||
[issues-link]: https://github.com/perfect-panel/ppanel-web/issues/new/choose
|
[issues-link]: https://github.com/perfect-panel/frontend/issues/new/choose
|
||||||
[pr-welcome-link]: https://github.com/perfect-panel/ppanel-web/pulls
|
[pr-welcome-link]: https://github.com/perfect-panel/frontend/pulls
|
||||||
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
||||||
[profile-link]: https://github.com/perfect-panel
|
[profile-link]: https://github.com/perfect-panel
|
||||||
|
|||||||
@ -61,7 +61,7 @@
|
|||||||
或者克隆项目进行本地开发:
|
或者克隆项目进行本地开发:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/perfect-panel/ppanel-web.git
|
git clone https://github.com/perfect-panel/frontend.git
|
||||||
cd ppanel-web
|
cd ppanel-web
|
||||||
|
|
||||||
# 安装依赖
|
# 安装依赖
|
||||||
@ -115,27 +115,27 @@ bun dev
|
|||||||
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
||||||
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
||||||
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
||||||
[contributors-url]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[contributors-url]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-action-release-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/release.yml
|
[github-action-release-link]: https://github.com/perfect-panel/frontend/actions/workflows/release.yml
|
||||||
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-action-test-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/test.yml
|
[github-action-test-link]: https://github.com/perfect-panel/frontend/actions/workflows/test.yml
|
||||||
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-contributors-link]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[github-contributors-link]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
||||||
[github-forks-link]: https://github.com/perfect-panel/ppanel-web/network/members
|
[github-forks-link]: https://github.com/perfect-panel/frontend/network/members
|
||||||
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
||||||
[github-issues-link]: https://github.com/perfect-panel/ppanel-web/issues
|
[github-issues-link]: https://github.com/perfect-panel/frontend/issues
|
||||||
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
||||||
[github-license-link]: https://github.com/perfect-panel/ppanel-web/blob/master/LICENSE
|
[github-license-link]: https://github.com/perfect-panel/frontend/blob/master/LICENSE
|
||||||
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
||||||
[github-release-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-release-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
||||||
[github-releasedate-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-releasedate-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
||||||
[github-stars-link]: https://github.com/perfect-panel/ppanel-web/network/stargazers
|
[github-stars-link]: https://github.com/perfect-panel/frontend/network/stargazers
|
||||||
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
||||||
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/ppanel-web
|
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/frontend
|
||||||
[issues-link]: https://github.com/perfect-panel/ppanel-web/issues/new/choose
|
[issues-link]: https://github.com/perfect-panel/frontend/issues/new/choose
|
||||||
[pr-welcome-link]: https://github.com/perfect-panel/ppanel-web/pulls
|
[pr-welcome-link]: https://github.com/perfect-panel/frontend/pulls
|
||||||
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
||||||
[profile-link]: https://github.com/perfect-panel
|
[profile-link]: https://github.com/perfect-panel
|
||||||
|
|||||||
@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
|
"check": {
|
||||||
|
"description": "Verify your identity",
|
||||||
|
"title": "Verify"
|
||||||
|
},
|
||||||
"get": "Get Code",
|
"get": "Get Code",
|
||||||
"login": {
|
"login": {
|
||||||
|
"description": "Enter your credentials to continue",
|
||||||
"email": "Please enter a valid email address",
|
"email": "Please enter a valid email address",
|
||||||
"emailPlaceholder": "Enter your email...",
|
"emailPlaceholder": "Enter your email...",
|
||||||
"forgotPassword": "Forgot Password?",
|
"forgotPassword": "Forgot Password?",
|
||||||
@ -12,6 +17,7 @@
|
|||||||
"logout": "Logout",
|
"logout": "Logout",
|
||||||
"register": {
|
"register": {
|
||||||
"codePlaceholder": "Enter code...",
|
"codePlaceholder": "Enter code...",
|
||||||
|
"description": "Create a new account",
|
||||||
"email": "Please enter a valid email address",
|
"email": "Please enter a valid email address",
|
||||||
"emailPlaceholder": "Enter your email...",
|
"emailPlaceholder": "Enter your email...",
|
||||||
"existingAccount": "Already have an account?",
|
"existingAccount": "Already have an account?",
|
||||||
@ -27,6 +33,7 @@
|
|||||||
},
|
},
|
||||||
"reset": {
|
"reset": {
|
||||||
"codePlaceholder": "Enter code...",
|
"codePlaceholder": "Enter code...",
|
||||||
|
"description": "Reset your password",
|
||||||
"email": "Please enter a valid email address",
|
"email": "Please enter a valid email address",
|
||||||
"emailPlaceholder": "Enter your email...",
|
"emailPlaceholder": "Enter your email...",
|
||||||
"existingAccount": "Remember your password?",
|
"existingAccount": "Remember your password?",
|
||||||
|
|||||||
@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
|
"check": {
|
||||||
|
"description": "验证您的身份",
|
||||||
|
"title": "验证"
|
||||||
|
},
|
||||||
"get": "获取验证码",
|
"get": "获取验证码",
|
||||||
"login": {
|
"login": {
|
||||||
|
"description": "输入您的凭据以继续",
|
||||||
"email": "请输入有效的邮箱地址",
|
"email": "请输入有效的邮箱地址",
|
||||||
"emailPlaceholder": "输入您的邮箱...",
|
"emailPlaceholder": "输入您的邮箱...",
|
||||||
"forgotPassword": "忘记密码?",
|
"forgotPassword": "忘记密码?",
|
||||||
@ -12,6 +17,7 @@
|
|||||||
"logout": "退出登录",
|
"logout": "退出登录",
|
||||||
"register": {
|
"register": {
|
||||||
"codePlaceholder": "输入验证码...",
|
"codePlaceholder": "输入验证码...",
|
||||||
|
"description": "创建一个新账号",
|
||||||
"email": "请输入有效的邮箱地址",
|
"email": "请输入有效的邮箱地址",
|
||||||
"emailPlaceholder": "输入您的邮箱...",
|
"emailPlaceholder": "输入您的邮箱...",
|
||||||
"existingAccount": "已有账号?",
|
"existingAccount": "已有账号?",
|
||||||
@ -27,6 +33,7 @@
|
|||||||
},
|
},
|
||||||
"reset": {
|
"reset": {
|
||||||
"codePlaceholder": "输入验证码...",
|
"codePlaceholder": "输入验证码...",
|
||||||
|
"description": "重置您的密码",
|
||||||
"email": "请输入有效的邮箱地址",
|
"email": "请输入有效的邮箱地址",
|
||||||
"emailPlaceholder": "输入您的邮箱...",
|
"emailPlaceholder": "输入您的邮箱...",
|
||||||
"existingAccount": "记得密码了?",
|
"existingAccount": "记得密码了?",
|
||||||
|
|||||||
@ -106,10 +106,22 @@ export default function EmailAuthForm() {
|
|||||||
<>
|
<>
|
||||||
<div className="mb-11 text-center">
|
<div className="mb-11 text-center">
|
||||||
<h1 className="mb-3 font-bold text-2xl">
|
<h1 className="mb-3 font-bold text-2xl">
|
||||||
{t(`${type || "check"}.title`)}
|
{type === "login"
|
||||||
|
? t("login.title", "Login")
|
||||||
|
: type === "register"
|
||||||
|
? t("register.title", "Register")
|
||||||
|
: type === "reset"
|
||||||
|
? t("reset.title", "Reset Password")
|
||||||
|
: t("check.title", "Verify")}
|
||||||
</h1>
|
</h1>
|
||||||
<div className="font-medium text-muted-foreground">
|
<div className="font-medium text-muted-foreground">
|
||||||
{t(`${type || "check"}.description`)}
|
{type === "login"
|
||||||
|
? t("login.description", "Enter your credentials to continue")
|
||||||
|
: type === "register"
|
||||||
|
? t("register.description", "Create a new account")
|
||||||
|
: type === "reset"
|
||||||
|
? t("reset.description", "Reset your password")
|
||||||
|
: t("check.description", "Verify your identity")}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{UserForm}
|
{UserForm}
|
||||||
|
|||||||
@ -40,7 +40,7 @@ export default function SystemVersionCard() {
|
|||||||
const [webResponse, serverResponse, systemResponse] = await Promise.all(
|
const [webResponse, serverResponse, systemResponse] = await Promise.all(
|
||||||
[
|
[
|
||||||
fetch(
|
fetch(
|
||||||
"https://data.jsdelivr.com/v1/packages/gh/perfect-panel/ppanel-web/resolved?specifier=latest"
|
"https://data.jsdelivr.com/v1/packages/gh/perfect-panel/frontend/resolved?specifier=latest"
|
||||||
),
|
),
|
||||||
fetch(
|
fetch(
|
||||||
"https://data.jsdelivr.com/v1/packages/gh/perfect-panel/server/resolved?specifier=latest"
|
"https://data.jsdelivr.com/v1/packages/gh/perfect-panel/server/resolved?specifier=latest"
|
||||||
@ -88,7 +88,7 @@ export default function SystemVersionCard() {
|
|||||||
web: webData
|
web: webData
|
||||||
? {
|
? {
|
||||||
version: webData.version,
|
version: webData.version,
|
||||||
url: `https://github.com/perfect-panel/ppanel-web/releases/tag/v${webData.version}`,
|
url: `https://github.com/perfect-panel/frontend/releases/tag/v${webData.version}`,
|
||||||
}
|
}
|
||||||
: null,
|
: null,
|
||||||
server: serverData
|
server: serverData
|
||||||
@ -206,7 +206,7 @@ export default function SystemVersionCard() {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
to={
|
to={
|
||||||
latestReleases?.web?.url ||
|
latestReleases?.web?.url ||
|
||||||
"https://github.com/perfect-panel/ppanel-web/releases"
|
"https://github.com/perfect-panel/frontend/releases"
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<Badge
|
<Badge
|
||||||
|
|||||||
12
apps/user/.env.example
Normal file
12
apps/user/.env.example
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# API base URL
|
||||||
|
VITE_API_BASE_URL=
|
||||||
|
|
||||||
|
# CDN URL for static assets
|
||||||
|
VITE_CDN_URL=https://cdn.jsdmirror.com
|
||||||
|
|
||||||
|
# Enable tutorial document feature (true/false)
|
||||||
|
VITE_TUTORIAL_DOCUMENT=true
|
||||||
|
|
||||||
|
# Default login credentials (for development only)
|
||||||
|
VITE_USER_EMAIL=
|
||||||
|
VITE_USER_PASSWORD=
|
||||||
@ -61,7 +61,7 @@ You can use Gitpod for online development:
|
|||||||
or clone it for local development:
|
or clone it for local development:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/perfect-panel/ppanel-web.git
|
git clone https://github.com/perfect-panel/frontend.git
|
||||||
cd ppanel-web
|
cd ppanel-web
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
@ -115,27 +115,27 @@ This project is [GNU](../../LICENSE) licensed.
|
|||||||
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
||||||
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
||||||
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
||||||
[contributors-url]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[contributors-url]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-action-release-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/release.yml
|
[github-action-release-link]: https://github.com/perfect-panel/frontend/actions/workflows/release.yml
|
||||||
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-action-test-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/test.yml
|
[github-action-test-link]: https://github.com/perfect-panel/frontend/actions/workflows/test.yml
|
||||||
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-contributors-link]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[github-contributors-link]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
||||||
[github-forks-link]: https://github.com/perfect-panel/ppanel-web/network/members
|
[github-forks-link]: https://github.com/perfect-panel/frontend/network/members
|
||||||
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
||||||
[github-issues-link]: https://github.com/perfect-panel/ppanel-web/issues
|
[github-issues-link]: https://github.com/perfect-panel/frontend/issues
|
||||||
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
||||||
[github-license-link]: https://github.com/perfect-panel/ppanel-web/blob/master/LICENSE
|
[github-license-link]: https://github.com/perfect-panel/frontend/blob/master/LICENSE
|
||||||
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
||||||
[github-release-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-release-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
||||||
[github-releasedate-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-releasedate-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
||||||
[github-stars-link]: https://github.com/perfect-panel/ppanel-web/network/stargazers
|
[github-stars-link]: https://github.com/perfect-panel/frontend/network/stargazers
|
||||||
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
||||||
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/ppanel-web
|
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/frontend
|
||||||
[issues-link]: https://github.com/perfect-panel/ppanel-web/issues/new/choose
|
[issues-link]: https://github.com/perfect-panel/frontend/issues/new/choose
|
||||||
[pr-welcome-link]: https://github.com/perfect-panel/ppanel-web/pulls
|
[pr-welcome-link]: https://github.com/perfect-panel/frontend/pulls
|
||||||
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
||||||
[profile-link]: https://github.com/perfect-panel
|
[profile-link]: https://github.com/perfect-panel
|
||||||
|
|||||||
@ -61,7 +61,7 @@
|
|||||||
或者克隆项目进行本地开发:
|
或者克隆项目进行本地开发:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/perfect-panel/ppanel-web.git
|
git clone https://github.com/perfect-panel/frontend.git
|
||||||
cd ppanel-web
|
cd ppanel-web
|
||||||
|
|
||||||
# 安装依赖
|
# 安装依赖
|
||||||
@ -115,27 +115,27 @@ bun dev
|
|||||||
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
[codespaces-link]: https://codespaces.new/perfect-panel/ppanel-web
|
||||||
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
||||||
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
[contributors-contrib]: https://contrib.rocks/image?repo=perfect-panel/ppanel-web
|
||||||
[contributors-url]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[contributors-url]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-action-release-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/release.yml
|
[github-action-release-link]: https://github.com/perfect-panel/frontend/actions/workflows/release.yml
|
||||||
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-action-test-link]: https://github.com/perfect-panel/ppanel-web/actions/workflows/test.yml
|
[github-action-test-link]: https://github.com/perfect-panel/frontend/actions/workflows/test.yml
|
||||||
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/perfect-panel/ppanel-web/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
||||||
[github-contributors-link]: https://github.com/perfect-panel/ppanel-web/graphs/contributors
|
[github-contributors-link]: https://github.com/perfect-panel/frontend/graphs/contributors
|
||||||
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
[github-contributors-shield]: https://img.shields.io/github/contributors/perfect-panel/ppanel-web?color=c4f042&labelColor=black&style=flat-square
|
||||||
[github-forks-link]: https://github.com/perfect-panel/ppanel-web/network/members
|
[github-forks-link]: https://github.com/perfect-panel/frontend/network/members
|
||||||
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
[github-forks-shield]: https://img.shields.io/github/forks/perfect-panel/ppanel-web?color=8ae8ff&labelColor=black&style=flat-square
|
||||||
[github-issues-link]: https://github.com/perfect-panel/ppanel-web/issues
|
[github-issues-link]: https://github.com/perfect-panel/frontend/issues
|
||||||
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
[github-issues-shield]: https://img.shields.io/github/issues/perfect-panel/ppanel-web?color=ff80eb&labelColor=black&style=flat-square
|
||||||
[github-license-link]: https://github.com/perfect-panel/ppanel-web/blob/master/LICENSE
|
[github-license-link]: https://github.com/perfect-panel/frontend/blob/master/LICENSE
|
||||||
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
[github-license-shield]: https://img.shields.io/github/license/perfect-panel/ppanel-web?color=white&labelColor=black&style=flat-square
|
||||||
[github-release-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-release-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
[github-release-shield]: https://img.shields.io/github/v/release/perfect-panel/ppanel-web?style=flat-square&sort=semver&logo=github
|
||||||
[github-releasedate-link]: https://github.com/perfect-panel/ppanel-web/releases
|
[github-releasedate-link]: https://github.com/perfect-panel/frontend/releases
|
||||||
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
[github-releasedate-shield]: https://img.shields.io/github/release-date/perfect-panel/ppanel-web?labelColor=black&style=flat-square
|
||||||
[github-stars-link]: https://github.com/perfect-panel/ppanel-web/network/stargazers
|
[github-stars-link]: https://github.com/perfect-panel/frontend/network/stargazers
|
||||||
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
[github-stars-shield]: https://img.shields.io/github/stars/perfect-panel/ppanel-web?color=ffcb47&labelColor=black&style=flat-square
|
||||||
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/ppanel-web
|
[gitpod-link]: https://gitpod.io/#https://github.com/perfect-panel/frontend
|
||||||
[issues-link]: https://github.com/perfect-panel/ppanel-web/issues/new/choose
|
[issues-link]: https://github.com/perfect-panel/frontend/issues/new/choose
|
||||||
[pr-welcome-link]: https://github.com/perfect-panel/ppanel-web/pulls
|
[pr-welcome-link]: https://github.com/perfect-panel/frontend/pulls
|
||||||
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
||||||
[profile-link]: https://github.com/perfect-panel
|
[profile-link]: https://github.com/perfect-panel
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user