Repository navigation
feat(project): @W-24953181@ add vueexternalapp template option - #1110
Merged
WillieRuemmele merged 2 commits intoNov 23, 2026
Merged
WillieRuemmele merged 2 commits into
WillieRuemmele merged 2 commits into
Conversation
Add vueexternalapp to the --template flag of sf template generate project. Update help text and README, bump @salesforce/templates to ^66.21.1, and add a NUT for the new template. @W-24953181@
WillieRuemmele
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a
vueexternalappoption tosf template generate project --template. Users can now create a Salesforce DX project with Vue-based scaffolding for an external UI bundle, the same way they already can withreactexternalappandangularexternalapp.Changes
1. Command flag (
src/commands/template/generate/project/index.ts)vueexternalappto the--templateoptions, aftervueinternalappand beforeagent.runGeneratorwith the other options. The generator creates the UI bundle and names it after the alphanumeric form of the project name, as it does for the other app templates.2. Help text (
messages/project.md)flags.template.descriptionto: "The vueinternalapp and vueexternalapp templates provide Vue-based project scaffolding for internal and external UI bundle use cases."3. README
sf template generate projectusage, flag, and description sections to match the new option and help text.4.
@salesforce/templatesbump (package.json,yarn.lock)^66.20.4→^66.21.1. 66.21.0 is the first release with thevueexternalappproject template (forcedotcom/salesforcedx-templates#965).5. Tests (
test/commands/template/generate/project/index.nut.ts)should create project with vueexternalapp template, modeled on thevueinternalapptest. It checks that:sfdx-project.jsonis created and containssourceApiVersionforce-app/main/default/uiBundles/<alphanumericName>/<alphanumericName>.uibundle-meta.xmlis created and contains the bundle nameCompatibility
Testing
yarn buildandyarn testpass.yarn test:nuts: all 202 pass, including the 29 project NUTs and the newvueexternalapptest.What issues does this PR fix or reference?
@W-24953181@