1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| <apex:page showHeader="false" sidebar="false" id="quoteTrial" title="报价计算">
| <apex:includeLightning />
| <div style="width:100%;height:100%;" id="QuoteTrialApp" />
| <script>
| $Lightning.use("c:QuoteTrialApp", function () {
| $Lightning.createComponent("c:quoteTrial",
| {},
| "QuoteTrialApp",
| function (cmp) {
| console.log('Component created, do something cool here');
| });
| });
|
| </script>
|
| </apex:page>
|
|