Skip to content

Commit

Permalink
fix: 地址不能打开
Browse files Browse the repository at this point in the history
  • Loading branch information
duo.zhang committed Dec 14, 2023
0 parents commit 6797669
Show file tree
Hide file tree
Showing 41 changed files with 18,130 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# production
/build

/config

/scripts

/public

/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

/node_modules
/.env.local
/.umirc.local.ts
/config/config.local.ts
/src/.umi
/src/.umi-production
/src/.umi-test
/dist
.swc

12 changes: 12 additions & 0 deletions .umirc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { defineConfig } from "umi";

export default defineConfig({
base: "/",
publicPath: "/code-game/",
title: "打字练习",
outputPath: 'docs',
routes: [
{ path: "/", component: "App" }
],
npmClient: 'yarn',
});
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[https://ui.zdean.cn/code-game/](https://ui.zdean.cn/code-game/)

练习打字的同时可以学习js的内置方法

React hook + TS 实现

## 开发环境
1. 安装[nodejs](https://nodejs.org/zh-cn/download/),版本是 14 或以上
2. 安装依赖
```
npm install
```
3. 安装完成后运行`npm run start`
11 changes: 11 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>打字练习</title>
</head>
<body>
<div id="root"></div>
<script src="/code-game/umi.js"></script>

</body></html>
636 changes: 636 additions & 0 deletions docs/p__App.async.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/p__App.chunk.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions docs/umi.js

Large diffs are not rendered by default.

Loading

0 comments on commit 6797669

Please sign in to comment.