July 2018
Beginner to intermediate
458 pages
9h 58m
English
To add Lightning Components to the Salesforce mobile application navigation, you need to make sure that Lightning Component implements the force:appHostable interface:
<aura:component implements="force:appHostable">
Let's add the YouTube search component we created to the Salesforce mobile application navigation menu. To do this, let's deploy the Lightning Component by using SFDX commands to push source code from the git repository at https://github.com/PacktPublishing/Learning-Salesforce-Lightning-Application-Development/tree/master/chapter12 to the scratch Org, as shown in the following code snippet:
# Authenticate to Dev Hub sfdx force:auth:web:login -d -a DevHub # Set as ...
Read now
Unlock full access