![]() ![]() Note: As part of the deal with create-react-app, our app will hot reload whenever we make changes! That means we can generally leave yarn start running in the console and we won’t have to restart it. Navigate to and you should see our app in all its starter glory: Let’s start the app by running yarn start in the command prompt. yarn.lock - contains the exact version for all project dependencies.tsconfig.json - contains configuration for the typescript compiler.README.md - starts with information about create-react-app, but in a real application you should describe the app itself.package.json - contains your app’s configuration, including things like dependencies and scripts.gitignore - specifies which files to ignore for source control. src - contains the source code for the app you’ll be working with most.public - contains the assets that’ll help build your final app, including things like index.html and your app’s favicon. ![]() node_modules - contains code for the third-party libraries used by your app. ![]() While we’ll be doing most of our work in the src folder, it’s important to understand what everything else does. Your should see the following folders and files. Make sure you’re in the new todo-list directory. You should see a bunch of downloading happening and finally instructions to cd into your new directory and start coding. Yarn create react-app todo-list -template typescript ![]()
0 Comments
Leave a Reply. |