Skip to content

Commit eaffe07

Browse files
committed
small
1 parent ee50fc4 commit eaffe07

37 files changed

+254
-18
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ function App() {
2020
ReactDOM.render(<App />, mountNode);
2121
```
2222

23-
- 入口entry: 开头为小写字母且不是`use`的js文件
24-
- 如果创建和entry同名的`.ejs`文件,会覆盖默认模板(优先级更高)
25-
- 如果不创建`index.js`入口,umi-plugin-mpa会默认生成index.html(url导航)
23+
- 入口js: 开头为小写字母且不是`use`的js文件 --> 在config.js进行路径匹配
24+
- 如果创建和js同名的`.ejs`文件,优先级更高,会覆盖默认模板 --> umi-plugin-mpa实现
25+
- 如果不创建`index.js`入口,umi-plugin-mpa会默认生成index.html(`url导航`)
2626
- 使用到`react-hooks`功能的部分, 需要引入react-dom, 否则估计会报错!!
2727

2828
# TODO

_ecma/async/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# README
2+
3+
JavaScript异步编程-学习代码
4+
5+
- http://es6.ruanyifeng.com/#docs/promise
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

_ecma/async/my-promise/es6Promise.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const es6Promise = require("./es6Promise")
1+
const es6Promise = require("./libs/es6Promise")
22

33
let p1 = new es6Promise((resolve, reject) => {
44
reject('hello error');

0 commit comments

Comments
 (0)