docs: replace vite with Vite (#43004)

This commit is contained in:
Dunqing 2023-06-14 13:23:40 +08:00 committed by GitHub
parent f777da867e
commit 02d03ba4ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
---
order: 4
title: Usage with vite
title: Usage with Vite
---
[vite](https://vitejs.dev/) is one of the best React application development tools. We are going to use `antd` within it and modify the vite config for some customized needs.
[Vite](https://vitejs.dev/) is one of the best React application development tools. We are going to use `antd` within it and modify the vite config for some customized needs.
## Install and Initialization
@ -64,6 +64,6 @@ const App = () => (
export default App;
```
OK, you should now see a blue primary button displayed on the page. Next you can choose any components of `antd` to develop your application. Visit other workflows of `vite` at its [User Guide](https://vitejs.dev/).
OK, you should now see a blue primary button displayed on the page. Next you can choose any components of `antd` to develop your application. Visit other workflows of `Vite` at its [User Guide](https://vitejs.dev/).
We are successfully running antd components now, go build your own application!

View File

@ -1,9 +1,9 @@
---
order: 4
title: 在 vite 中使用
title: 在 Vite 中使用
---
[vite](https://cn.vitejs.dev/) 是业界最优秀的 React 应用开发工具之一,本文会尝试在 vite 创建的工程中使用 `antd` 组件,并自定义 vite 的配置以满足各类工程化需求。
[Vite](https://cn.vitejs.dev/) 是业界最优秀的 React 应用开发工具之一,本文会尝试在 Vite 创建的工程中使用 `antd` 组件,并自定义 Vite 的配置以满足各类工程化需求。
## 安装和初始化
@ -64,6 +64,6 @@ const App = () => (
export default App;
```
好了,现在你应该能看到页面上已经有了 `antd` 的蓝色按钮组件,接下来就可以继续选用其他组件开发应用了。其他开发流程你可以参考 vite 的[官方文档](https://cn.vitejs.dev/)。
好了,现在你应该能看到页面上已经有了 `antd` 的蓝色按钮组件,接下来就可以继续选用其他组件开发应用了。其他开发流程你可以参考 Vite 的[官方文档](https://cn.vitejs.dev/)。
我们现在已经把 antd 组件成功运行起来了,开始开发你的应用吧!