Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何react-day-picker.js在前端表单日期字段中重复使用管理组件(已包含在 keystonejs 中)?
react-day-picker.js
react-day-pickerKeystone 将其安装为 Node 模块。您可以要求/导入它以重新使用该文件夹中的代码。您也可以将其作为依赖项保存在您自己的项目中,以确保您始终拥有它,尽管这不是必需的,因为 Keystone 有它自己的package.json.
react-day-picker
package.json
import DayPicker from "react-day-picker"; import "react-day-picker/lib/style.css"
https://www.npmjs.com/package/react-day-picker