![](https://img-blog.csdnimg.cn/20200720132430566.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
TypeScript
js升级版 强类型语言
全栈开发ck
微信公众号
展开
-
react + ts + antd (一) 创建项目
touch README.md # 全局安装 create-react-app npm i create-react-app -g / yarn global add create-react-app # 查看版本 create-react-app --version # 使用 typescript 模板创建项目 npx create-react-app ck_admin --template typescript npx create-react-app --template typescrip.原创 2020-12-23 10:30:34 · 3062 阅读 · 2 评论 -
Typrscript
Typrscript 安装 npm install -g typescript 用npm 如果用yarn容易掉包 编译 tsc index.ts 根目录编译 ts 转换 js 创建tsconfig.json tsc --init 配置文件 点击菜单 终端–任务–运行任务 点击tsc:监视–tsconfig.json 自...原创 2020-02-21 21:37:31 · 424 阅读 · 0 评论