This article will show you how to add external libraries, like jQuery, Bootsrap and FontAwesome, in Subscribe.
Adding external libraries: jQuery
- Inside your project, open the Code Editor icon (< > ) located in the left hand sidebar
- Then click on the Page icon, also in the left hand sidebar, to view all the pages within your project
- On the page that you want to add jQuery or other external library, select the three dots (Page Options) next to the page name
- A dropdown will appear, select "Add/Remove External Libraries"
- A popup window will prompt you to select the libraries you wish to include. In the example below, we have selected jQuery.
- Click the SAVE button. Subscribe will add the selected libraries at the end of your page code.
NOTE:
To ensure effective use of scripts, place any other scripts AFTER jQuery script tag:
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> - Click SAVE