# React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
## Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level `parserOptions` property like this:
```js
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
```
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
没有合适的资源?快使用搜索试试~ 我知道了~
react+ts+antd cron表达式组件
共29个文件
tsx:11个
ts:5个
json:3个
需积分: 0 5 下载量 47 浏览量
2023-11-16
08:49:24
上传
评论
收藏 65KB ZIP 举报
温馨提示
reac+ts+antd 实现的一个cron表达式组件 该组件具备基础的秒、分、时、日、月、周、年获取cron的功能。
资源推荐
资源详情
资源评论
收起资源包目录
react_ts_antd_cron.zip (29个子文件)
yarn.lock 108KB
tsconfig.node.json 213B
src
main.tsx 236B
App.tsx 564B
App.css 32B
components
cron
YearPane
index.tsx 5KB
DayPane
index.tsx 5KB
index.tsx 7KB
cron-regex.ts 1KB
common.ts 894B
common.less 60B
WeekPane
WeekSelect.tsx 742B
index.tsx 6KB
readme.md 447B
SecondPane
index.tsx 5KB
index.d.ts 562B
MonthPane
index.tsx 5KB
HourPane
index.tsx 5KB
MinutePane
index.tsx 5KB
vite-env.d.ts 38B
index.css 38B
package.json 797B
public
vite.svg 1KB
.eslintrc.cjs 436B
vite.config.ts 163B
index.html 379B
.gitignore 253B
tsconfig.json 605B
README.md 1KB
共 29 条
- 1
资源评论
了衣李
- 粉丝: 4
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功