File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,39 @@ demo-app
4747└── webpack.config.prod.js
4848```
4949
50+ ```
51+ create-react-webpack demo-app -e
52+ ```
53+
54+ It incules the node server for deploying into production into your ` demo-app ` , with below file footprint.
55+
56+ ```
57+ demo-app
58+ ├── README.md
59+ ├── node_modules
60+ ├── package.json
61+ ├── .gitignore
62+ ├── .babelrc
63+ ├── .eslintrc.json
64+ ├── .eslintignore
65+ ├── .prettierrc
66+ ├── .prettierignore
67+ ├── public
68+ │ ├── favicon.ico
69+ │ ├── index.html
70+ │ └── manifest.json
71+ ├── server
72+ │ └── index.js
73+ ├── src
74+ │ ├── App.css
75+ │ ├── App.js
76+ │ ├── App.spec.js
77+ │ └── index.js
78+ ├── webpack.config.base.js
79+ ├── webpack.config.dev.js
80+ └── webpack.config.prod.js
81+ ```
82+
5083## Available Scripts
5184
5285After creating project directory you can run following scripts:-
@@ -56,6 +89,11 @@ After creating project directory you can run following scripts:-
5689builds the application for production to the ` dist ` folder inside directory.<br >
5790Uses webpack ` prod ` ` config ` along with ` base ` ` config `
5891
92+ ### ` npm start `
93+
94+ Start the production server on default port ` 3000 ` .<br >
95+ Read files from ` dist ` folder.
96+
5997### ` npm run dev `
6098
6199Start the development server on default port ` 8080 ` .<br >
You can’t perform that action at this time.
0 commit comments