Reputation: 5510
We have been developing an office add-in with ReactJS. I have always been using sudo PORT=8000 HTTPS=true SSL_CRT_FILE=localhost.crt SSL_KEY_FILE=localhost.key ./node_modules/.bin/react-scripts start
(see here) to test the add-in in development.
I just learned that https://github.com/OfficeDev/Office-Addin-Scripts/tree/master/packages/office-addin-dev-certs works well in development.
So does anyone know how to use office-addin-dev-certs in a project by react-scripts and create-react-app?
Upvotes: 0
Views: 282