The best way to approach this problem is to use npm/node in conjuntion with a bundler such as webpack, which will bundle all of the files to a static JS file that can be served from your web server. This avoids having .net and node in the same project both serving files, but allows you to take advantage of the modern javascript ecostystem.
Hey Ben, I don't have much experience with Umbraco, mostly a react developer. My employer as a Umbraco V8 webapp, that seems to serve different html files and content that different users can create and upload.
I was wondering if it would be possible to create a react app, bundle it with webpack into a static js file, and then have that be served as a content file? the umbraco backroom or backend that we use to upload content has a extended html tab where you can fill in what seem to be js files?
Seems like this would be possible, does that seem correct?
Create-react-app typescript to existing umbraco site?
Hi just wondering if anyone has added create-react-app with typescript to an existing umbraco site. Any tips on getting started?
Hi Tom,
The best way to approach this problem is to use npm/node in conjuntion with a bundler such as webpack, which will bundle all of the files to a static JS file that can be served from your web server. This avoids having .net and node in the same project both serving files, but allows you to take advantage of the modern javascript ecostystem.
https://webpack.js.org/
Hey Ben, I don't have much experience with Umbraco, mostly a react developer. My employer as a Umbraco V8 webapp, that seems to serve different html files and content that different users can create and upload.
I was wondering if it would be possible to create a react app, bundle it with webpack into a static js file, and then have that be served as a content file? the umbraco backroom or backend that we use to upload content has a extended html tab where you can fill in what seem to be js files?
Seems like this would be possible, does that seem correct?
is working on a reply...