You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`public/index.html` file that will be served from your webserver:
112
+
*`src/templates/index.html` file. It will be used as the template for the `index.html` generated by webpack. The generated file will be in the `public` folder and and then served from your webserver:
102
113
103
114
```html
104
115
<html>
105
116
<body>
106
117
<divid="root"></div>
107
-
<scriptsrc="./build/app.js"></script>
108
118
</body>
109
119
</html>
120
+
110
121
```
111
122
112
123
*`src/app/app.tsx` that is your frontend application entry point:
@@ -132,10 +143,11 @@ ReactDOM.render(
132
143
133
144
# Develop your amazing application
134
145
135
-
> You can get the latest packages using `npm install typescript@latest react@latest react-dom@latest @types/react@latest @types/react-dom@latest webpack@latest ts-loader@latest webpack-dev-server@latest webpack-cli@latest --save-exact`
146
+
> You can get the latest packages using `npm install typescript@latest react@latest react-dom@latest @types/react@latest @types/react-dom@latest webpack@latest webpack-dev-server@latest webpack-cli@latest ts-loader@latest clean-webpack-plugin@latest html-webpack-plugin@latest --save-exact`
0 commit comments