Daniel Dancziger
Daniel Dancziger

Reputation: 244

What's the best way for using ReactJs with Cordova?

I love using react but react-native have fewer plugins than Cordova so I was wondering how to use it with material-ui and Cordova

how to connect both with webpack, and how to use Cordova plugins inside the react code?

thanks

Upvotes: 2

Views: 559

Answers (1)

Rishabh Mishra
Rishabh Mishra

Reputation: 508

In webpack.config.js put the index.html and output the build file in www folder. Cordova will take the single page app from www folder

Upvotes: 1

Related Questions