|
1 | | -This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).<br /> |
| 1 | +# Create React App & Tailwind CSS |
2 | 2 |
|
3 | | -Demo URL: https://tailwindcss-app.herokuapp.com |
4 | | -## Available Scripts |
| 3 | +[Live Demo](https://tailwindcss-app.herokuapp.com) |
5 | 4 |
|
6 | | -In the project directory, you can run: |
| 5 | +## Installation |
7 | 6 |
|
8 | | -### `yarn start` |
| 7 | +## Clone the repo |
9 | 8 |
|
10 | | -Runs the app in the development mode.<br /> |
11 | | -Open [http://localhost:3000](http://localhost:3000) to view it in the browser. |
| 9 | +```bash |
| 10 | +$ https://github.com/uidoyen/create-react-app-tailwindcss.git |
| 11 | +``` |
| 12 | + |
| 13 | +## cd in the repo |
| 14 | + |
| 15 | +```bash |
| 16 | +$ cd create-react-app-tailwindcss |
| 17 | +``` |
| 18 | + |
| 19 | +## install dependencies |
12 | 20 |
|
13 | | -The page will reload if you make edits.<br /> |
14 | | -You will also see any lint errors in the console. |
| 21 | +```bash |
| 22 | +$ npm install |
| 23 | +``` |
15 | 24 |
|
16 | | -### `yarn test` |
| 25 | +#### or yarn |
17 | 26 |
|
18 | | -Launches the test runner in the interactive watch mode.<br /> |
19 | | -See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. |
| 27 | +```bash |
| 28 | +$ yarn install |
| 29 | +``` |
20 | 30 |
|
21 | | -### `yarn build` |
| 31 | +## run application |
22 | 32 |
|
23 | | -Builds the app for production to the `build` folder.<br /> |
24 | | -It correctly bundles React in production mode and optimizes the build for the best performance. |
| 33 | +```bash |
| 34 | +$ npm start |
| 35 | +``` |
25 | 36 |
|
26 | | -The build is minified and the filenames include the hashes.<br /> |
27 | | -Your app is ready to be deployed! |
| 37 | +#### or yarn |
28 | 38 |
|
29 | | -See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. |
| 39 | +```bash |
| 40 | +$ yarn start |
| 41 | +``` |
30 | 42 |
|
31 | | -### `yarn eject` |
| 43 | +## build application |
32 | 44 |
|
33 | | -**Note: this is a one-way operation. Once you `eject`, you can’t go back!** |
| 45 | +```bash |
| 46 | +$ npm build |
| 47 | +``` |
34 | 48 |
|
35 | | -If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. |
| 49 | +#### or yarn |
36 | 50 |
|
37 | | -Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. |
| 51 | +```bash |
| 52 | +$ yarn build |
| 53 | +``` |
38 | 54 |
|
39 | | -You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. |
| 55 | +### Runs the app in the development mode.<br /> |
| 56 | + |
| 57 | +Open [http://localhost:3000](http://localhost:3000) to view it in the browser. |
| 58 | + |
| 59 | +This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).<br /> |
40 | 60 |
|
41 | 61 | ## Learn More |
42 | 62 |
|
|
0 commit comments