简体   繁体   中英

is it possible to use a NPM (a module has made by angular 8 and converted to NPM) in javascript or even react native?

I've made an Angular (v8) module and want to convert it to NPM to use it as a library (package) in a normal JavaScript app (or even in react or react native app).

Is this possible?

No, right out of the box, React and Angular are very different frameworks. They don't just interop with each other.

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