i planning use react js v (from mvc) in existing java web based application.
my concern how run react js component on java web application server.
react js uses node js components. , has webpack server bundles code single js file(bundle.js).
so may directly use bundle.js(by copy , paste) existing application?
or need else ?
please suggest.
thanks.
react frontent technology. work cdn. node.js backend technology, use tool build app. after built no more in use (until make changes)
what have do:
- install nodejs , npm.
- create react app
- use nodejs/webpack build bundle
now bundle don't need node.js or webpack. normal js file. can use wish.
you can copy bundle.js file server node.js not installed , use in normal way , work.
Comments
Post a Comment