I'm uploading a component and the controller class to the static resources and trying to use it in a vfp. But when I save the vfp with the reference, it throws an error that the component does not exist.
I've tried uploading them as compressed zip files and also as stand-alone files.
<apex:page>
<h1>Congratulations</h1>
This is your new Page
//Stand-alone files
<!--<apex:includeScript value="{!$Resource.HelpboxComponent)}"/>-->
<!--<apex:includeScript value="{!$Resource.HelpboxController)}"/>-->
//Zip file
<apex:includeScript value="{!URLFOR($Resource.Helpbox, 'Helpbox1.0/HelpboxComponent')}"/>
<apex:includeScript value="{!URLFOR($Resource.Helpbox, 'Helpbox1.0/HelpboxController')}"/>
<c:Helpbox Tips=""/>
</apex:page>
Can components from static resources be used or I'm making a mistake in the static resource reference. Thanks.