Salesforce LOGO as an SVG resource https://gist.github.com/nickforce/df922f756788c3d195cffa640a0e0a41
Monday, May 25, 2020
Salesforce Logo SVG LWC Lightning Web Component
Salesforce LOGO as an SVG resource https://gist.github.com/nickforce/df922f756788c3d195cffa640a0e0a41
Thursday, May 14, 2020
Github Pages SSL and Custom Domain with Godaddy DNS Setup
Getting Started
Create a new github repo with naming convention - "XXX.github.io"
Godaddy DNS Settings
Point your Godaddy domain to the Github servers with 4 A Name records as follows and 1 CNAME record to redirect to your "XXX.github.io" repo created in step 1.
Also, when you buy a new domain from Godaddy there will be a CNAME record pointed at value of "Parked" - this record needs to be deleted.
Github Repo SSL settings
You will need to give Godaddy roughly 15min - 1 hour to propagate the new DNS settings created above. You will see in your Github Repo settings the following setup once Github completes the TLS issuing process. Confirm "Enforce HTTPS" is checked here to complete the setup. This will also add a new CNAME record to the root directory of the repo.
Preview your site live being served over HTTPS
Getting Started
Create a new github repo with naming convention - "XXX.github.io"
Godaddy DNS Settings
Point your Godaddy domain to the Github servers with 4 A Name records as follows and 1 CNAME record to redirect to your "XXX.github.io" repo created in step 1.
Also, when you buy a new domain from Godaddy there will be a CNAME record pointed at value of "Parked" - this record needs to be deleted.
Github Repo SSL settings
You will need to give Godaddy roughly 15min - 1 hour to propagate the new DNS settings created above. You will see in your Github Repo settings the following setup once Github completes the TLS issuing process. Confirm "Enforce HTTPS" is checked here to complete the setup. This will also add a new CNAME record to the root directory of the repo.
Preview your site live being served over HTTPS
SFDX Plugin @salesforce/lwc-dev-server
@salesforce/lwc-dev-server
Getting Started
You will need to have the Salesforce DX CLI installed.
Run the following command to verify CLI installation.
sfdx
Run the following command to install the lwc-dev-server plugin
sfdx plugins:install @salesforce/lwc-dev-server
Navigate to a project directory that contains a Lightning Web Component and run the following to start the local dev server
cd mySFDXProjectWithManifest sfdx force:lightning:lwc:start
If successful should see the following:
Starting LWC Local Development.Dev Hub Org: nick@cirruscode.comScratch Org: nick@cirruscode.comApi Version: 48.0Template version key 8ef8ca85d9[HPM] Proxy created: / -> https://nickforcedev-dev-ed.my.salesforce.com[HPM] Subscribed to http-proxy events: [ 'proxyReq', 'error', 'close' ]Server up on http://localhost:3333
Navigate to http://localhost:3333/
Subscribe to:
Posts (Atom)