简体   繁体   中英

How do I use ReactJs with an existing project that uses EJS Express Mongodb as stack?

  • The file structure is based on sailsjs structure, we don't use sailsjs though, this is how it looks like:

  • Stack used is: EJS Express/Node MongoDb.

  • I want to move a certain page from ejs to ReactJS and also implement Webpack with it.

  • Is there a way I can convert this into a react app, or simply use react with ejs?

You can use try react cdn links as script tags. https://reactjs.org/docs/cdn-links.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM