This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
Below you will find some information on how to perform common tasks.<br>
You can find the most recent version of this guide [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md).
## Table of Contents
- [Updating to New Releases](#updating-to-new-releases)
- [Sending Feedback](#sending-feedback)
- [Folder Structure](#folder-structure)
- [Available Scripts](#available-scripts)
- [npm start](#npm-start)
- [npm test](#npm-test)
- [npm run build](#npm-run-build)
- [npm run eject](#npm-run-eject)
- [Supported Language Features and Polyfills](#supported-language-features-and-polyfills)
- [Syntax Highlighting in the Editor](#syntax-highlighting-in-the-editor)
- [Displaying Lint Output in the Editor](#displaying-lint-output-in-the-editor)
- [Debugging in the Editor](#debugging-in-the-editor)
- [Changing the Page `<title>`](#changing-the-page-title)
- [Installing a Dependency](#installing-a-dependency)
- [Importing a Component](#importing-a-component)
- [Adding a Stylesheet](#adding-a-stylesheet)
- [Post-Processing CSS](#post-processing-css)
- [Adding a CSS Preprocessor (Sass, Less etc.)](#adding-a-css-preprocessor-sass-less-etc)
- [Adding Images and Fonts](#adding-images-and-fonts)
- [Using the `public` Folder](#using-the-public-folder)
- [Changing the HTML](#changing-the-html)
- [Adding Assets Outside of the Module System](#adding-assets-outside-of-the-module-system)
- [When to Use the `public` Folder](#when-to-use-the-public-folder)
- [Using Global Variables](#using-global-variables)
- [Adding Bootstrap](#adding-bootstrap)
- [Using a Custom Theme](#using-a-custom-theme)
- [Adding Flow](#adding-flow)
- [Adding Custom Environment Variables](#adding-custom-environment-variables)
- [Referencing Environment Variables in the HTML](#referencing-environment-variables-in-the-html)
- [Adding Temporary Environment Variables In Your Shell](#adding-temporary-environment-variables-in-your-shell)
- [Adding Development Environment Variables In `.env`](#adding-development-environment-variables-in-env)
- [Can I Use Decorators?](#can-i-use-decorators)
- [Integrating with an API Backend](#integrating-with-an-api-backend)
- [Node](#node)
- [Ruby on Rails](#ruby-on-rails)
- [Proxying API Requests in Development](#proxying-api-requests-in-development)
- [Using HTTPS in Development](#using-https-in-development)
- [Generating Dynamic `<meta>` Tags on the Server](#generating-dynamic-meta-tags-on-the-server)
- [Pre-Rendering into Static HTML Files](#pre-rendering-into-static-html-files)
- [Injecting Data from the Server into the Page](#injecting-data-from-the-server-into-the-page)
- [Running Tests](#running-tests)
- [Filename Conventions](#filename-conventions)
- [Command Line Interface](#command-line-interface)
- [Version Control Integration](#version-control-integration)
- [Writing Tests](#writing-tests)
- [Testing Components](#testing-components)
- [Using Third Party Assertion Libraries](#using-third-party-assertion-libraries)
- [Initializing Test Environment](#initializing-test-environment)
- [Focusing and Excluding Tests](#focusing-and-excluding-tests)
- [Coverage Reporting](#coverage-reporting)
- [Continuous Integration](#continuous-integration)
- [Disabling jsdom](#disabling-jsdom)
- [Snapshot Testing](#snapshot-testing)
- [Editor Integration](#editor-integration)
- [Developing Components in Isolation](#developing-components-in-isolation)
- [Making a Progressive Web App](#making-a-progressive-web-app)
- [Deployment](#deployment)
- [Static Server](#static-server)
- [Other Solutions](#other-solutions)
- [Serving Apps with Client-Side Routing](#serving-apps-with-client-side-routing)
- [Building for Relative Paths](#building-for-relative-paths)
- [Azure](#azure)
- [Firebase](#firebase)
- [GitHub Pages](#github-pages)
- [Heroku](#heroku)
- [Modulus](#modulus)
- [Netlify](#netlify)
- [Now](#now)
- [S3 and CloudFront](#s3-and-cloudfront)
- [Surge](#surge)
- [Advanced Configuration](#advanced-configuration)
- [Troubleshooting](#troubleshooting)
- [`npm start` doesn’t detect changes](#npm-start-doesnt-detect-changes)
- [`npm test` hangs on macOS Sierra](#npm-test-hangs-on-macos-sierra)
- [`npm run build` silently fails](#npm-run-build-silently-fails)
- [`npm run build` fails on Heroku](#npm-run-build-fails-on-heroku)
- [Something Missing?](#something-missing)
## Updating to New Releases
Create React App is divided into two packages:
* `create-react-app` is a global command-line utility that you use to create new projects.
* `react-scripts` is a development dependency in the generated projects (including this one).
You almost never need to update `create-react-app` itself: it delegates all the setup to `react-scripts`.
When you run `create-react-app`, it always creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically.
To update an existing project to a new version of `react-scripts`, [open the changelog](https://github.com/facebookincubator/create-react-app/blob/master/CHANGELOG.md), find the version you’re currently on (check `package.json` in this folder if you’re not sure), and apply the migration instructions for the newer versions.
In most cases bumping the `react-scripts` version in `package.json` and running `npm install` in this folder should be enough, but it’s good to consult the [changelog](https://github.com/facebookincubator/create-react-app/blob/master/CHANGELOG.md) for potential breaking changes.
We commit to keeping the breaking changes minimal so you can upgrade `react-scripts` painlessly.
## Sending Feedback
We are always open to [your feedback](https://github.com/facebookincubator/create-react-app/issues).
## Folder Structure
After creation, your project should look like this:
```
my-app/
README.md
node_modules/
package.json
public/
index.html
favicon.ico
src/
App.css
App.js
App.test.js
index.css
index.js
logo.svg
```
For the project to build, **these files must exist with exact filenames**:
* `public/index.html` is the page template;
* `src/index.js` is the JavaScript entry point.
You can delete or rename the other files.
You may create subdirectories inside `src`. For faster rebuilds, only files inside `src` are processed by Webpack.<br>
You need to **put any JS and CSS files inside `src`**, or Webpack won’t see them.
Only files inside `public` can be used from `public/index.html`.<br>
Read instructions below for using assets from JavaScript and HTML.
You can, however, create more top-level directories.<br>
They will not be included in the production build so you can use them for things like documentation.
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.<br>
You will also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.<br>
See the section about [running tests](#running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!
See the section about [deployment](#deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
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
没有合适的资源?快使用搜索试试~ 我知道了~
Node.js10开发实战-源代码.rar
共1886个文件
js:635个
json:382个
md:218个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 165 浏览量
2022-07-06
14:38:54
上传
评论
收藏 15.74MB RAR 举报
温馨提示
Node.js10开发实战-源代码.rar
资源推荐
资源详情
资源评论
收起资源包目录
Node.js10开发实战-源代码.rar (1886个子文件)
meteor.0 16MB
local.0 16MB
local.1 32MB
1697345231e3c7a0e86e0fedf65193058f5326 197B
1697530d819e0a3a35ce99eb086b1611d214b6 93B
186b28c41b2ba0773b20b34f0adee4eb38748d 53B
metrics.2017-06-14T06-25-40Z-00000 159KB
metrics.2017-06-14T09-24-36Z-00000 160KB
metrics.2017-06-14T12-01-56Z-00000 29KB
metrics.2017-06-14T12-12-49Z-00000 76KB
metrics.2017-06-14T13-22-11Z-00000 20KB
metrics.2017-06-14T13-25-15Z-00000 16KB
metrics.2017-06-14T13-29-42Z-00000 8KB
metrics.2017-06-14T13-33-17Z-00000 272KB
metrics.2017-06-15T06-50-37Z-00000 128KB
metrics.2017-06-15T08-28-08Z-00000 1.29MB
metrics.2017-06-16T14-47-59Z-00000 2.14MB
metrics.2017-06-21T06-19-46Z-00000 131KB
metrics.2017-06-24T19-30-08Z-00000 3.64MB
2112fcb6b54a600a039e3a81c01ca5ab7688c5 142B
21f1209a8d6a170901a16cc7362070b5aefb9f 171B
29960dbcbbaba062be1f540a310ae6c09a823d 275B
2ab9044cd7ce31586654c8ecf2dc82f78082c7 164B
2be8cb341b579b230d1be27ab48d2cc173aa0d 86B
2d5c0a3419c3463b56ed41746712de7612e4f1 441B
3208fbb7168875464dd7aaff4169c37be615ea 156B
37ecc378f6c7df477991104cf44164ebda6230 133B
3d6d17ebb9ce4243bf4aa51eef28d3ab1a3cbf 243B
5a8d3b424cdef70c4b1ce048ecc0513adb9abc 142B
5c8ffd7a9c9139f2298ae5ce0a73c5fcee6a1c 172B
61754ae6455e78407a2d1e42062376080fcbd8 353B
61fb38929c310c8c9930a3ae69429c5dc6bfc8 110B
62a572356de3ec6c6060f749322838ab629069 174B
643cc37449b4bde54411a80b8ed61258225e34 245B
688ff7af0a253dd0c4ce702427632690fa2cbe 54B
6ec920252025ab91893e1386a2c39ef16f8007 268B
6ffa3e591a1d83513044618aa7aab428b187c3 296B
78e84097558dfac0a8eb82c8072878f5118fe9 287B
7af48c9d7be47abd5f4817b32c0efd982a5ace 275B
7ca679f5a04ff7b0390b739da1e178054c17df 230B
878092f31cee1a9fb8e2b4b91b8d3a8a2a923c 119B
87b6d004bf4841de3879065e9ecbb2ceb86c34 5KB
8806d14b89ad44149f6b121a6339c3b88285de 193B
8d09f8cb5c45437c14b35dbfe06b7a1cd3b7e8 175B
8da0c4d73d4504d155349673d7819879dcea76 143B
8eb78aefe3e2e56b8c8cb6e9628d8f5e76fb8f 5KB
91e3a32543abe542b980394fe148223bf0c480 153B
934d56adde5a0fb2093d780cb6cee8a2ec2a32 161B
938c46e08ff3e353f799fdc43b28187b929d07 53B
96003eef16b3aa738dd5ed054f069e9b7cdfb7 52B
9adecc7304dd0d1822d3f357398e9cf70a53af 122B
9d7f2ab099688e399b4a0ee12a2971bd0cddc4 240B
9de29bb2d1d6434b8b29ae775ad8c2e48c5391 15B
a0076654e8da7f9f2c4e9908f2758ecb67e657 286B
a25f7f4cb416c083d265558da75d457237d671 155B
a34db4af0afae9c4a54355f09b7f1f7850ce84 161B
a6eda4a0b4570ba158219082fe7f5684be0364 136B
b1583e44798c011a6037d12e57c8634df8af66 188B
b3653cb317290f46c5eda8264be213007424a6 175B
b566e5c4fc8d3c334dce21a7989e3e9bc9fdd6 296B
b9358275e53fe6fbbec45f6b3129b194b2d680 159B
README.md.bak 7KB
bea748caf8ff6415e4ab1e622d640e3cde4c4e 304B
storage.bson 69B
addon.c 527B
c1fc36341e38ff830ab8e5d7dea5f194d9eff6 263B
c2fbc0cd9c88292de5c7128a0af4a4981fc901 233B
c44582dee31712f3bc82475d6b6f8e5de18af9 70B
c4f349850501ab23a4e75f7df41fe4ab25b425 24B
c6147993670524c137613f9401cc75e6c6c2ea 171B
c6d6753aeaedb66bb44987329081d425d37ec8 54B
ca847676252a02d9762fcf49ea0336262df4db 142B
e0a459feab672ab33a291915f35af3078af9b5f1_cd8fa697f4b6d02108d44e5b439c527347b2c7bb.cache 1.27MB
753089505b9a1bc0a2a93caf0c52074dbac9bcb8_839131b32c271f2afad5bfda498bb86b9b3935df.cache 1.2MB
2e622ca7c8ad1c51c53ac4d94290262b798e775d_c791abfb1b0ad33fd364ee02385d494d1a8b4c13.cache 1.18MB
6ba83beee381637c0ed833c992c733e27dc14215_0625b3cb7799b366c142316e200d24131f216ec8.cache 913KB
ae9271c1d636f01e4df439ba742e6bb03f85c999_7bb93ff301983fc9d41c0fbd12d30d44275c922f.cache 773KB
ccfeca972832da611d2821edc9ceab4d9d9b48f9_1186d4cb83343a5d7060a7fe7a6ce014221b0937.cache 754KB
742893f36c9378e16f1e4874b0631c76718f94c4_7b947d22b14769d03f0ecd251cf82a5e5fd34d91.cache 717KB
2f3f7c80507367af17b181353e48fd806f13e3e8_b41c89af7c9208f89954f370c413b6978f927e80.cache 466KB
efa25aff0da0a1e6f950ad418570b59aabd527d7_8515871a6ad139dc9ebafc222027e106960f9464.cache 422KB
74eb0a0f3ee77d7a46d14748e20a8c818946188c_7c38cc1de952dbfe8188e9e65dc3a7f1c1fc222a.cache 389KB
c8c20408e97a8583b61b0e7bfb8446d8336c4034_a31fe62ff8c9232d109d819c23d582a480bcedad.cache 341KB
94a422a86064eab74924d4a35fb62d1cfb65dbf8_42f5d233168e4484069420b98bbc4e66260d7f8e.cache 211KB
cf8c5ca51387e46d93b0da99feebb813304c1108_9b2ac8d4399789a87fb0b79fef8d88c88677eecd.cache 154KB
fa43dd723e52c07bd60946718d8e7f10ce8f5ed4_8ba53e9d73d956bef6d224a9c98ba9eb0534a88c.cache 148KB
df494f0ccc874efa3027e3b59a814bfaf1fc7134_4b7649876f6c2f083c839599b8dcfbac0e6402db.cache 147KB
1836cc455406d07a476a2a5de781da61bbbd6679_b4ed0676b5a0c512680dc288d664557d3ed9def9.cache 120KB
2d1a50a5a02e978156e785a7c840bd460077dfa6_a2db604c326a4b946f1e0778e7f441977f48ff8b.cache 94KB
febb6cef8d8c4fd360c91644bf36fa2bbd826728_a2db604c326a4b946f1e0778e7f441977f48ff8b.cache 93KB
484c8531f0acb9ba39b3e74d55872c3c463d0417_3a79f5aa39793880df4c1faffeb2caf44064238c.cache 92KB
9a8ecddb236e0a6c97bb42b4a7af46689a33c83f_0d717b37b29306741afb58396fc0a61442b81328.cache 90KB
d38b0231e9e0119d5f2d13547c3686d562b451c6_380077e8701dc83274276102587cd84f1f325f0d.cache 85KB
d527b72f2064e6780fb6bb84cdc55c6ea51798d7_a7d44d77e6ef15a891243f7b4ff8d62010ade689.cache 83KB
569a6a9facee24b3c13f84b458811dfd1393dc66_78156e17a72fd22a19919a4c19e1bb386f5c3af4.cache 81KB
a9b2a6a67e18f222b88a3874b8a79e633eb16b79_0a471d9a4cd7b7fb326e1fd8039db4b3cee906e6.cache 81KB
3eb6b2329b0bafcc555888c85e44dc5ab0fbbbeb_c2128ed2d680f643fb4ee71299d89fc7723ad95c.cache 67KB
059047133947ae2111e0716a0711373958c2f36b_38c2d45d9cdc42138c73f338885dece95c353af8.cache 65KB
5ff7116de52cd2c967139adbfb769493b3a11069_a90f4812bef540c8bb328db37fdb0a10632b2a20.cache 60KB
bc5530dd8629e21fbcaf0a064fff2da96ab7889b_5b9241067d480ccc5a1edbd3d710005ba3e42108.cache 57KB
共 1886 条
- 1
- 2
- 3
- 4
- 5
- 6
- 19
资源评论
qq_38220914
- 粉丝: 600
- 资源: 4313
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功