commit | author | age
|
6daddb
|
1 |
# react-datetime demo app |
JL |
2 |
|
|
3 |
[Demo](https://YouCanBookMe.github.io/react-datetime) |
|
4 |
|
|
5 |
#### How to Start |
|
6 |
|
|
7 |
```bash |
|
8 |
npm start |
|
9 |
``` |
|
10 |
|
|
11 |
#### How to Deploy |
|
12 |
|
|
13 |
Run "deploy" from the demo directory: |
|
14 |
|
|
15 |
```bash |
53b947
|
16 |
cd ~/react-datetime/demo |
SE |
17 |
npm run deploy |
6daddb
|
18 |
``` |
JL |
19 |
|
|
20 |
#### How to Run the demo with your local changes |
|
21 |
|
|
22 |
If you are working on some change and you want to use the demo to test them out, you have to link your local "react-datetime" directory to the demo: |
|
23 |
|
|
24 |
```bash |
53b947
|
25 |
cd ~/react-datetime |
SE |
26 |
npm link |
6daddb
|
27 |
|
53b947
|
28 |
cd demo |
SE |
29 |
npm link react-datetime |
6daddb
|
30 |
|
53b947
|
31 |
npm start |
6daddb
|
32 |
``` |