Fanfou Wiki

我等采石之人,当心怀建造大教堂之愿景。

用户工具

站点工具


react

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
上一修订版两侧同时换到之后的修订记录
react [2021/09/30 11:26] adminreact [2021/10/20 17:35] admin
行 26: 行 26:
 <code bash> <code bash>
 npm install react-router-dom --save npm install react-router-dom --save
-</code> 
- 
-====== Axios ====== 
-  * https://github.com/axios/axios 
- 
-<code bash> 
-npm install axios --save 
 </code> </code>
  
行 48: 行 41:
  
 </file> </file>
 +====== lint-staged ======
 +  * https://github.com/okonet/lint-staged
 +
 +**需要提前安装 prettier --save-dev 或者 eslint --save-dev**
 +<code bash>
 +npx mrm@2 lint-staged
 +</code>
  
 ====== MUI ====== ====== MUI ======
行 58: 行 58:
 ====== Form validator ====== ====== Form validator ======
   * https://react-hook-form.com/get-started   * https://react-hook-form.com/get-started
 +  * https://github.com/sideway/joi
  
 <code bash> <code bash>
 npm install --save react-hook-form @hookform/resolvers joi npm install --save react-hook-form @hookform/resolvers joi
 +</code>
 +
 +====== Axios ======
 +  * https://github.com/axios/axios
 +
 +<code bash>
 +npm install axios --save
 +</code>
 +
 +====== Lodash ======
 +  * https://lodash.com/
 +
 +<code>
 +npm install --save lodash
 +</code>
 +
 +====== date-fns ======
 +  * https://date-fns.org/
 +
 +<code>
 +npm install date-fns --save
 </code> </code>
  
react.txt · 最后更改: 2021/10/20 17:38 由 admin