Last active
October 5, 2015 00:42
-
-
Save msrivastav13/e996c03c00f11fa209be to your computer and use it in GitHub Desktop.
ReactSamplePage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page standardStylesheets="false" showHeader="false" applyHtmlTag="false" docType="html-5.0"> | |
<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Hello React</title> | |
<apex:stylesheet value="{!URLFOR($Resource.SLDS090, 'assets/styles/salesforce-lightning-design-system-vf.css')}" /> | |
</head> | |
<!-- Remote Objects definition to set accessible sObjects and fields --> | |
<apex:remoteObjects > | |
<apex:remoteObjectModel name="Account" jsShorthand="acc" | |
fields="Name,Id,Fax,Phone,Type,CreatedDate"> | |
<apex:remoteObjectField name="Description" jsShorthand="desc"/> | |
</apex:remoteObjectModel> | |
</apex:remoteObjects> | |
<body> | |
<div id="content" class="slds"></div> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.2/marked.min.js"></script> | |
<script src="{!$Resource.makeDeferredProvider}"/> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.js"></script> | |
<script src="{!URLFOR($Resource.App,'/build.min.js')}"/> | |
</body> | |
</html> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment