1.https://github.com/wayofthefuture/react-input-moment 这是一个github的地址,他是一个react的时间组件;

效果图:

学习react的实例1--日历

具体是下载后放到比如F盘

学习react的实例1--日历

2.按照上图通过npm 安装;

3.安装完后用npm输入

f:

cd 你的文件夹名字

npm start,等完成后通过浏览器打开:http://localhost:8888

4.可能会有报错的情况,应该是报-----resolve-----相关的错,没有关系,把npm关掉,从新打开;

刚刚报比如-----resolve  ‘react’ -----

那你就用npm输入

f:

 cd 你的文件夹名字

npm install react  --save

npm start

等完成后通过浏览器打开:http://localhost:8888







相关文章:

  • 2021-11-23
  • 2022-12-23
  • 2021-06-09
  • 2021-11-16
  • 2021-11-03
  • 2022-12-23
  • 2021-12-03
  • 2022-01-24
猜你喜欢
  • 2021-04-17
  • 2021-08-09
  • 2022-12-23
  • 2021-12-05
  • 2021-08-28
  • 2021-12-20
  • 2021-06-21
相关资源
相似解决方案