mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
docs: Update use-in-typescript.zh-CN.md (#33434)
这里有点不对 /* src/App.ts */ 应该是 /* src/App.tsx */ 执行npx create-react-app my-project-name --template typescript后也只有App.tsx文件
This commit is contained in:
parent
629caccaae
commit
67bf8903fb
@ -110,7 +110,7 @@ module.exports = {
|
||||
首先把 `src/App.css` 文件修改为 `src/App.less`,然后修改样式引用为 less 文件。
|
||||
|
||||
```diff
|
||||
/* src/App.ts */
|
||||
/* src/App.tsx */
|
||||
- import './App.css';
|
||||
+ import './App.less';
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user