Can I add external library like react or angular to developer portal?

Is there a way to add reactjs or angular in the new developer tool that apigee has released?

0 1 610
1 REPLY 1

smccormick
Participant I

Good afternoon,

The admin UI of our new developer tool allows you to add a custom script block to each page of your developer portal. With that control, you can choose to add script tags

<script
   type="text/javascript"
   src="https://rawgit.com/GitHubUserNameHere/GitHubRepoNameHere/master/helloWorld.js">
</script>

that link to outside libraries and applications built in javascript if you wish. Example above is an example of how to link to a JS file hosted in GitHub. Tools like Webpack (https://webpack.github.io/) allow you to build and bundle entire web applications and their dependancies (for instance Angular) into a single JS file to be included.

Hope that helps...

Thanks

-Sean