-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 38a3290
Showing
61 changed files
with
8,606 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
*.local | ||
# public | ||
*.js | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# 胜古朝阳 Web端 | ||
|
||
## 开发方法 | ||
|
||
### 准备工作 | ||
|
||
安装以下软件: | ||
|
||
- Node.js >= 12 | ||
- 对应版本的NPM | ||
- 从NPM上全局安装的Yarn(可选) | ||
|
||
### 克隆仓库 | ||
|
||
```bash | ||
git clone https://gitee.com/qihexiang/sgcy-web.git | ||
cd sgcy-web | ||
``` | ||
|
||
### 安装依赖和启动 | ||
|
||
```bash | ||
# 安装了Yarn | ||
yarn && yarn dev | ||
# 未安装Yarn | ||
npm install && npm run dev | ||
``` | ||
|
||
### 访问页面 | ||
|
||
浏览器访问<http://localhost:3000> | ||
|
||
## 发布方式 | ||
|
||
创建生产包:`yarn build`,生成的静态文件存放于`dist`目录下。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/src/logo.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>胜古朝阳</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.