@salesforce/ui-bundle-template-app-angular-template-b2x
v12.14.0
Published
Salesforce Angular external app template
Maintainers
Keywords
Readme
Angular External App
Angular external app template — authentication, object search across Salesforce records, and a site container for Experience Cloud. Also ships a language switcher provided as an example (features/language-switcher/__examples__/) for manual integration — it is not wired into the app by default.
In this monorepo
This package is a template app in the ui-bundle monorepo. It is built by applying feature patches to the base Angular app; the output is written to dist/.
Build
nx run @salesforce/ui-bundle-template-app-angular-template-b2x:buildProduces an SFDX project in dist/ with the UI Bundle at dist/force-app/main/default/uiBundles/angularextapp/.
Dev server
nx run @salesforce/ui-bundle-template-app-angular-template-b2x:devStarts the Salesforce Angular dev server (sf-angular-serve) from the built output in dist/.
Watch
nx run @salesforce/ui-bundle-template-app-angular-template-b2x:watchRe-applies patches automatically when source files change.
Test
This package has no dedicated test target. To run tests, build first, then run them from the built UI Bundle:
nx run @salesforce/ui-bundle-template-app-angular-template-b2x:build
cd dist/force-app/main/default/uiBundles/angularextapp && npm install && npm testRuns the unit test suite via ng test.
Clean
npm run cleanRemoves the dist/ directory.
For standalone run, deploy, and test instructions (e.g. after publishing or extracting dist/), see the UI Bundle README.
