markdown TRM前端转移到Mac

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown TRM前端转移到Mac相关的知识,希望对你有一定的参考价值。

Different yarn.lock file was needed (OS specific)  
so node_modules and yarn.lock file was removed   
then installed again

then followed this step

1. Install Xcode https://github.com/nodejs/node-gyp#on-macos
2. Copy .env file
3. "noImplicitAny": false    to compilerOptions in tsconfig

# Material-ui and typescript problem
```
import Fab from '@material-ui/core/Fab';
import styled from 'styled-components';

export const OptionButton = styled<any>(Fab)`
  position: fixed !important;
  opacity: 0.8;
  right: 1%;
  bottom: 1%;
  z-index: 999;
`
```
here I have to give `any` as its interface to fix interface error on where its Component is being used

以上是关于markdown TRM前端转移到Mac的主要内容,如果未能解决你的问题,请参考以下文章

markdown TRM部署历史记录

markdown 将比特从Bitbucket转移到Github

将 MAMP Pro 转移到具有新用户名的新 Mac

将代码从 mac 转移到 linux 机器时出现语法错误

flutter从WIN10转移到MAC生成APK失败

typescript Apollo websocket TRM