In order to build the SFRA code to adeveloper sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?
A.
npm run compile:js, npm run compile:html, npm run clean
B.
npm run compile:scss, npm run compile:html, npm run clean
C.
npm run compile:js, npm run compile: scss, npm run compile:html
D.
npm run compile:js, npm run compile:scss, npm run compile:fonts
To successfully deploy SFRA code to a developer sandbox ensuring that the site appears and functions as designed, the developer should execute the following build steps: npm run compile:js, npm run compile:scss, and npm run compile:html. These commands compile JavaScript files, SCSS (Sass) files, and HTML templates respectively, which are essential components of the storefront application. This sequence ensures that all the necessary frontend assets are properly compiled and ready for deployment, aligning with SFRA's architecture and build requirements as outlined in the Salesforce B2C Commerce documentation.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit