@salesforce/ui-bundle-template-feature-vue-language-switcher 0.0.0-stage → 13.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/LICENSE.txt +82 -0
  2. package/README.md +141 -2
  3. package/dist/.forceignore +15 -0
  4. package/dist/.husky/pre-commit +4 -0
  5. package/dist/.prettierignore +11 -0
  6. package/dist/.prettierrc +17 -0
  7. package/dist/CHANGELOG.md +5431 -0
  8. package/dist/README.md +83 -0
  9. package/dist/config/project-scratch-def.json +13 -0
  10. package/dist/eslint.config.js +7 -0
  11. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/.forceignore +15 -0
  12. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/.graphqlrc.yml +2 -0
  13. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/.prettierignore +9 -0
  14. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/.prettierrc +11 -0
  15. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/README.md +43 -0
  16. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/codegen.yml +95 -0
  17. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/components.json +19 -0
  18. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/e2e/app.spec.ts +17 -0
  19. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/eslint.config.js +124 -0
  20. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/feature-vue-language-switcher.uibundle-meta.xml +7 -0
  21. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/index.html +12 -0
  22. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/package.json +72 -0
  23. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/playwright.config.ts +24 -0
  24. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/scripts/get-graphql-schema.mjs +71 -0
  25. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/scripts/rewrite-e2e-assets.mjs +23 -0
  26. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/App.vue +5 -0
  27. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/api/graphqlClient.ts +44 -0
  28. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/appLayout.vue +80 -0
  29. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/alerts/status-alert.vue +59 -0
  30. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/layouts/card-layout.vue +30 -0
  31. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/alert/Alert.vue +21 -0
  32. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/alert/AlertAction.vue +17 -0
  33. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/alert/AlertDescription.vue +22 -0
  34. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/alert/AlertTitle.vue +22 -0
  35. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/alert/index.ts +25 -0
  36. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/avatar/Avatar.vue +23 -0
  37. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/avatar/AvatarFallback.vue +31 -0
  38. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/avatar/AvatarImage.vue +16 -0
  39. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/avatar/index.ts +3 -0
  40. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/button/Button.vue +33 -0
  41. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/button/index.ts +43 -0
  42. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/card/Card.vue +29 -0
  43. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/card/CardAction.vue +22 -0
  44. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/card/CardContent.vue +17 -0
  45. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/card/CardDescription.vue +17 -0
  46. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/card/CardFooter.vue +22 -0
  47. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/card/CardHeader.vue +22 -0
  48. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/card/CardTitle.vue +22 -0
  49. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/card/index.ts +7 -0
  50. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/checkbox/Checkbox.vue +43 -0
  51. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/checkbox/index.ts +1 -0
  52. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/collapsible/Collapsible.vue +19 -0
  53. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/collapsible/CollapsibleContent.vue +12 -0
  54. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/collapsible/CollapsibleTrigger.vue +12 -0
  55. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/collapsible/index.ts +3 -0
  56. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dialog/Dialog.vue +15 -0
  57. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dialog/DialogClose.vue +12 -0
  58. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dialog/DialogContent.vue +59 -0
  59. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dialog/DialogDescription.vue +31 -0
  60. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dialog/DialogFooter.vue +33 -0
  61. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dialog/DialogHeader.vue +17 -0
  62. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dialog/DialogOverlay.vue +31 -0
  63. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dialog/DialogPortal.vue +12 -0
  64. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dialog/DialogTitle.vue +26 -0
  65. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dialog/DialogTrigger.vue +12 -0
  66. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dialog/index.ts +10 -0
  67. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenu.vue +19 -0
  68. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +51 -0
  69. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuContent.vue +47 -0
  70. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +12 -0
  71. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuItem.vue +44 -0
  72. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +30 -0
  73. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuPortal.vue +12 -0
  74. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +21 -0
  75. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +52 -0
  76. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +26 -0
  77. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +19 -0
  78. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuSub.vue +19 -0
  79. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +37 -0
  80. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +38 -0
  81. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +17 -0
  82. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/dropdown-menu/index.ts +15 -0
  83. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/field/Field.vue +27 -0
  84. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/field/FieldContent.vue +22 -0
  85. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/field/FieldDescription.vue +24 -0
  86. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/field/FieldError.vue +48 -0
  87. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/field/FieldGroup.vue +22 -0
  88. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/field/FieldLabel.vue +24 -0
  89. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/field/FieldLegend.vue +29 -0
  90. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/field/FieldSeparator.vue +31 -0
  91. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/field/FieldSet.vue +22 -0
  92. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/field/FieldTitle.vue +22 -0
  93. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/field/index.ts +33 -0
  94. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/index.ts +115 -0
  95. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/input/Input.vue +30 -0
  96. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/input/index.ts +1 -0
  97. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/label/Label.vue +29 -0
  98. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/label/index.ts +1 -0
  99. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/pagination/Pagination.vue +17 -0
  100. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/pagination/PaginationContent.vue +15 -0
  101. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/pagination/PaginationEllipsis.vue +23 -0
  102. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/pagination/PaginationItem.vue +7 -0
  103. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/pagination/PaginationLink.vue +31 -0
  104. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/pagination/PaginationNext.vue +29 -0
  105. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/pagination/PaginationPrevious.vue +29 -0
  106. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/pagination/index.ts +7 -0
  107. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/popover/Popover.vue +15 -0
  108. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/popover/PopoverAnchor.vue +12 -0
  109. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/popover/PopoverContent.vue +44 -0
  110. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/popover/PopoverDescription.vue +17 -0
  111. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/popover/PopoverHeader.vue +17 -0
  112. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/popover/PopoverTitle.vue +14 -0
  113. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/popover/PopoverTrigger.vue +12 -0
  114. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/popover/index.ts +7 -0
  115. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/select/Select.vue +15 -0
  116. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/select/SelectContent.vue +65 -0
  117. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/select/SelectGroup.vue +26 -0
  118. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/select/SelectItem.vue +41 -0
  119. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/select/SelectLabel.vue +26 -0
  120. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/select/SelectScrollDownButton.vue +32 -0
  121. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/select/SelectScrollUpButton.vue +32 -0
  122. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/select/SelectSeparator.vue +24 -0
  123. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/select/SelectTrigger.vue +45 -0
  124. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/select/SelectValue.vue +12 -0
  125. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/select/index.ts +10 -0
  126. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/separator/Separator.vue +33 -0
  127. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/separator/index.ts +1 -0
  128. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/skeleton/Skeleton.vue +15 -0
  129. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/skeleton/index.ts +1 -0
  130. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/sonner/Sonner.vue +29 -0
  131. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/sonner/index.ts +3 -0
  132. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/spinner/Spinner.vue +17 -0
  133. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/components/ui/spinner/index.ts +1 -0
  134. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/composables/useAsyncData.ts +69 -0
  135. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/LanguageSwitcher.vue +75 -0
  136. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/__examples__/language-switcher-example.vue +34 -0
  137. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/__examples__/vite-config-site-example.ts +44 -0
  138. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/buildLanguageUrl.ts +158 -0
  139. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/getCurrentLanguage.ts +59 -0
  140. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/index.ts +31 -0
  141. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/languages.ts +46 -0
  142. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/index.ts +8 -0
  143. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/lib/utils.ts +6 -0
  144. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/main.ts +6 -0
  145. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/pages/Home.vue +10 -0
  146. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/pages/NotFound.vue +18 -0
  147. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/router-utils.ts +32 -0
  148. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/router.ts +40 -0
  149. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/styles/global.css +134 -0
  150. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/test/setup.ts +1 -0
  151. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/src/types/globals.d.ts +23 -0
  152. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/tsconfig.json +45 -0
  153. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/tsconfig.node.json +13 -0
  154. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/tsconfig.tsbuildinfo +1 -0
  155. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/ui-bundle.json +7 -0
  156. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/vite-env.d.ts +14 -0
  157. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/vite.config.ts +106 -0
  158. package/dist/force-app/main/default/uiBundles/feature-vue-language-switcher/vitest-env.d.ts +2 -0
  159. package/dist/jest.config.js +6 -0
  160. package/dist/package-lock.json +12554 -0
  161. package/dist/package.json +46 -0
  162. package/dist/scripts/apex/hello.apex +10 -0
  163. package/dist/scripts/gitignore-templates.json +4 -0
  164. package/dist/scripts/graphql-search.sh +191 -0
  165. package/dist/scripts/network-senders.mjs +84 -0
  166. package/dist/scripts/org-setup-config-schema.mjs +132 -0
  167. package/dist/scripts/org-setup-dev.mjs +114 -0
  168. package/dist/scripts/org-setup-url.mjs +108 -0
  169. package/dist/scripts/org-setup-utils.mjs +569 -0
  170. package/dist/scripts/org-setup-xml.mjs +283 -0
  171. package/dist/scripts/org-setup.config.json +5 -0
  172. package/dist/scripts/org-setup.mjs +2545 -0
  173. package/dist/scripts/sf-project-setup.mjs +103 -0
  174. package/dist/scripts/soql/account.soql +6 -0
  175. package/dist/scripts/validate-org-setup-config.mjs +38 -0
  176. package/dist/sfdx-project.json +12 -0
  177. package/package.json +51 -4
  178. package/src/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/LanguageSwitcher.vue +75 -0
  179. package/src/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/__examples__/language-switcher-example.vue +34 -0
  180. package/src/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/__examples__/vite-config-site-example.ts +44 -0
  181. package/src/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/buildLanguageUrl.ts +158 -0
  182. package/src/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/getCurrentLanguage.ts +59 -0
  183. package/src/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/index.ts +31 -0
  184. package/src/force-app/main/default/uiBundles/feature-vue-language-switcher/src/features/language-switcher/languages.ts +46 -0
  185. package/src/force-app/main/default/uiBundles/feature-vue-language-switcher/src/index.ts +8 -0
  186. package/src/force-app/main/default/uiBundles/feature-vue-language-switcher/src/types/globals.d.ts +23 -0
package/dist/README.md ADDED
@@ -0,0 +1,83 @@
1
+ # Salesforce DX Project: Next Steps
2
+
3
+ Now that you’ve created a Salesforce DX project, what’s next? Here are some documentation resources to get you started.
4
+
5
+ ## Web app: install, build, and dev server
6
+
7
+ From the **SFDX project root** (this directory), run:
8
+
9
+ ```bash
10
+ npm run sf-project-setup
11
+ ```
12
+
13
+ This installs dependencies in the UI Bundle, builds it, and starts the Vite dev server. Use this after cloning or extracting the project.
14
+
15
+ ## Set up the org
16
+
17
+ `npm run setup` configures a target org from this project in one command: it logs in
18
+ (a required precondition — auto-skipped if the org is already connected), deploys
19
+ metadata, assigns permission sets, imports sample data, refreshes the GraphQL
20
+ schema/types, and builds the UI Bundle. When `--target-org` is omitted it uses your
21
+ default org or, in an interactive terminal, prompts you to pick one.
22
+
23
+ ```bash
24
+ npm run setup -- --target-org <alias> # or omit --target-org to use the default / pick
25
+ ```
26
+
27
+ Before each Network deployment, setup reads the target org's existing sender
28
+ address and preserves it in the local metadata. Sender changes must be made in
29
+ the site's Administration settings. For a direct `sf project deploy` command,
30
+ first run `node scripts/network-senders.mjs --target-org <alias>` after generating
31
+ the project.
32
+
33
+ Setup does **not** start the dev server. Once the org is set up, use `dev:preview` to
34
+ refresh the GraphQL types against the org and launch the Vite dev server on its own:
35
+
36
+ ```bash
37
+ npm run dev:preview
38
+ ```
39
+
40
+ ### Setup configuration (`scripts/org-setup.config.json`)
41
+
42
+ `org-setup.config.json` controls which steps run and how. Every top-level section is
43
+ optional; an absent section hides its step. It is validated against a shared schema
44
+ at build/CI time and again at the start of every `npm run setup`, so a malformed
45
+ config fails fast rather than misbehaving.
46
+
47
+ ```jsonc
48
+ {
49
+ "permsetAssignments": {
50
+ "assignments": {
51
+ "My_Access": { "assignee": "currentUser" }
52
+ }
53
+ },
54
+ "role": { "assignee": "currentUser", "roleName": "Admin" },
55
+ "selfRegistration": {
56
+ "selfRegProfile": "My Prospect Profile",
57
+ "accountName": "My Self-Registration"
58
+ }
59
+ }
60
+ ```
61
+
62
+ When a `selfRegistration` section is present, setup runs a **license pre-check**
63
+ before configuring self-registration: it derives the required `UserLicense` from the
64
+ configured `selfRegProfile` (matched on the stable `LicenseDefinitionKey`, not the
65
+ display name) and, if the org lacks that license or has no available seats, **warns
66
+ and skips** self-registration instead of reporting success — so prospect login can't
67
+ silently fail on an under-provisioned org. No separate license field is configured;
68
+ the requirement always follows the profile the flow assigns.
69
+
70
+ ## How Do You Plan to Deploy Your Changes?
71
+
72
+ Do you want to deploy a set of changes, or create a self-contained application? Choose a [development model](https://developer.salesforce.com/tools/vscode/en/user-guide/development-models).
73
+
74
+ ## Configure Your Salesforce DX Project
75
+
76
+ The `sfdx-project.json` file contains useful configuration information for your project. See [Salesforce DX Project Configuration](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm) in the _Salesforce DX Developer Guide_ for details about this file.
77
+
78
+ ## Read All About It
79
+
80
+ - [Salesforce Extensions Documentation](https://developer.salesforce.com/tools/vscode/)
81
+ - [Salesforce CLI Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm)
82
+ - [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm)
83
+ - [Salesforce CLI Command Reference](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm)
@@ -0,0 +1,13 @@
1
+ {
2
+ "orgName": "My Saleforce Org",
3
+ "edition": "Developer",
4
+ "features": ["EnableSetPasswordInApi"],
5
+ "settings": {
6
+ "lightningExperienceSettings": {
7
+ "enableS1DesktopEnabled": true
8
+ },
9
+ "mobileSettings": {
10
+ "enableS1EncryptedStoragePref2": false
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * ESLint 9 flat config for LWC and Aura.
3
+ * @see https://github.com/salesforce/eslint-config-lwc
4
+ */
5
+ const lwcConfig = require("@salesforce/eslint-config-lwc");
6
+
7
+ module.exports = [...lwcConfig.configs.recommended];
@@ -0,0 +1,15 @@
1
+ # List files or directories below to ignore them when running force:source:push, force:source:pull, and force:source:status
2
+ # More information: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm
3
+ #
4
+
5
+ package.xml
6
+
7
+ # LWC configuration files
8
+ **/jsconfig.json
9
+ **/.eslintrc.json
10
+
11
+ # LWC Jest
12
+ **/__tests__/**
13
+
14
+ node_modules/
15
+ .DS_Store
@@ -0,0 +1,2 @@
1
+ schema: '../../../../../schema.graphql'
2
+ documents: 'src/**/*.{graphql,js,ts,jsx,tsx,vue}'
@@ -0,0 +1,9 @@
1
+ node_modules
2
+ dist
3
+ build
4
+ .vite
5
+ coverage
6
+ *.min.js
7
+ *.min.css
8
+ *.map
9
+ package-lock.json
@@ -0,0 +1,11 @@
1
+ {
2
+ "semi": true,
3
+ "trailingComma": "es5",
4
+ "singleQuote": true,
5
+ "printWidth": 80,
6
+ "tabWidth": 2,
7
+ "useTabs": false,
8
+ "bracketSpacing": true,
9
+ "arrowParens": "avoid",
10
+ "endOfLine": "lf"
11
+ }
@@ -0,0 +1,43 @@
1
+ # Base Vue App
2
+
3
+ Base Vue App is a template application that demonstrates how to build a Vue UI Bundle on the Salesforce platform with Vite, TypeScript, Tailwind, shadcn-vue, and the Salesforce UI Bundle SDK. It provides a minimal shell (home, 404), routing, and GraphQL codegen support so feature apps can extend it via the patches pipeline.
4
+
5
+ This UI Bundle lives inside an SFDX project. The project root is the directory that contains `force-app/` and `sfdx-project.json`. Run the commands in the sections below from the paths indicated.
6
+
7
+ ## Table of contents
8
+
9
+ - [Run (development)](#run-development)
10
+ - [Build](#build)
11
+ - [Test](#test)
12
+
13
+ ## Run (development)
14
+
15
+ From the UI Bundle directory (`force-app/main/default/uiBundles/base-vue-app`):
16
+
17
+ ```bash
18
+ npm install
19
+ npm run dev
20
+ ```
21
+
22
+ This starts the Vite dev server (e.g. http://localhost:5173). Use `npm run dev:design` to run in design mode.
23
+
24
+ ## Build
25
+
26
+ From the UI Bundle directory:
27
+
28
+ ```bash
29
+ npm install
30
+ npm run build
31
+ ```
32
+
33
+ The production build is written to `dist/` inside the UI Bundle folder.
34
+
35
+ ## Test
36
+
37
+ From the UI Bundle directory:
38
+
39
+ ```bash
40
+ npm run test # unit tests (Vitest)
41
+ npm run build:e2e # build for end-to-end
42
+ npx playwright test # end-to-end tests (Playwright)
43
+ ```
@@ -0,0 +1,95 @@
1
+ schema: '../../../../../schema.graphql'
2
+ documents: 'src/**/*.{graphql,ts,tsx,vue}'
3
+ generates:
4
+ src/api/graphql-operations-types.ts:
5
+ plugins:
6
+ - 'graphql-codegen-typescript-operation-types'
7
+ - 'typescript-operations'
8
+ config:
9
+ onlyOperationTypes: true
10
+ skipTypename: true
11
+ preResolveTypes: true
12
+ scalars:
13
+ # String-serialized scalars
14
+ JSON:
15
+ input: 'string'
16
+ output: 'string'
17
+ Date:
18
+ input: 'string'
19
+ output: 'string'
20
+ DateTime:
21
+ input: 'string'
22
+ output: 'string'
23
+ Time:
24
+ input: 'string'
25
+ output: 'string'
26
+ Email:
27
+ input: 'string'
28
+ output: 'string'
29
+ Url:
30
+ input: 'string'
31
+ output: 'string'
32
+ PhoneNumber:
33
+ input: 'string'
34
+ output: 'string'
35
+ Picklist:
36
+ input: 'string'
37
+ output: 'string'
38
+ MultiPicklist:
39
+ input: 'string'
40
+ output: 'string'
41
+ TextArea:
42
+ input: 'string'
43
+ output: 'string'
44
+ LongTextArea:
45
+ input: 'string'
46
+ output: 'string'
47
+ RichTextArea:
48
+ input: 'string'
49
+ output: 'string'
50
+ EncryptedString:
51
+ input: 'string'
52
+ output: 'string'
53
+ Base64:
54
+ input: 'string'
55
+ output: 'string'
56
+ IdOrRef:
57
+ input: 'string'
58
+ output: 'string'
59
+ # BigDecimal-serialized scalars (accepts number or string, returns number)
60
+ Currency:
61
+ input: 'number | string'
62
+ output: 'number'
63
+ BigDecimal:
64
+ input: 'number | string'
65
+ output: 'number'
66
+ Double:
67
+ input: 'number | string'
68
+ output: 'number'
69
+ Percent:
70
+ input: 'number | string'
71
+ output: 'number'
72
+ Longitude:
73
+ input: 'number | string'
74
+ output: 'number'
75
+ Latitude:
76
+ input: 'number | string'
77
+ output: 'number'
78
+ # Integer-like scalars
79
+ Long:
80
+ input: 'number'
81
+ output: 'number'
82
+ BigInteger:
83
+ input: 'number'
84
+ output: 'number'
85
+ Short:
86
+ input: 'number'
87
+ output: 'number'
88
+ Byte:
89
+ input: 'number'
90
+ output: 'number'
91
+ Char:
92
+ input: 'number'
93
+ output: 'number'
94
+ overwrite: true
95
+ ignoreNoDocuments: true
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "https://shadcn-vue.com/schema.json",
3
+ "style": "new-york",
4
+ "typescript": true,
5
+ "tailwind": {
6
+ "config": "",
7
+ "css": "src/styles/global.css",
8
+ "baseColor": "neutral",
9
+ "cssVariables": true
10
+ },
11
+ "iconLibrary": "lucide",
12
+ "aliases": {
13
+ "components": "@/components",
14
+ "utils": "@/lib/utils",
15
+ "ui": "@/components/ui",
16
+ "lib": "@/lib",
17
+ "composables": "@/composables"
18
+ }
19
+ }
@@ -0,0 +1,17 @@
1
+ import { test, expect } from '@playwright/test';
2
+
3
+ test.describe('base-vue-app', () => {
4
+ test('home page loads and shows welcome content', async ({ page }) => {
5
+ await page.goto('/');
6
+ await expect(page.getByRole('heading', { name: 'Home' })).toBeVisible();
7
+ await expect(
8
+ page.getByText('Welcome to your Vue application.')
9
+ ).toBeVisible();
10
+ });
11
+
12
+ test('not found route shows 404', async ({ page }) => {
13
+ await page.goto('/non-existent-route');
14
+ await expect(page.getByRole('heading', { name: '404' })).toBeVisible();
15
+ await expect(page.getByText('Page not found')).toBeVisible();
16
+ });
17
+ });
@@ -0,0 +1,124 @@
1
+ import { existsSync } from 'node:fs';
2
+ import { resolve } from 'node:path';
3
+ import { fileURLToPath } from 'node:url';
4
+ import { dirname } from 'node:path';
5
+ import js from '@eslint/js';
6
+ import pluginVue from 'eslint-plugin-vue';
7
+ import vueTsConfig from '@vue/eslint-config-typescript';
8
+ import globals from 'globals';
9
+ import graphqlPlugin from '@graphql-eslint/eslint-plugin';
10
+
11
+ const __dirname = dirname(fileURLToPath(import.meta.url));
12
+ const schemaPath = resolve(__dirname, '../../../../../schema.graphql');
13
+ const schemaExists = existsSync(schemaPath);
14
+
15
+ const config = [
16
+ // Global ignores
17
+ {
18
+ ignores: [
19
+ 'build/**/*',
20
+ 'dist/**/*',
21
+ 'coverage/**/*',
22
+ 'src/api/graphql-operations-types.ts',
23
+ ],
24
+ },
25
+ js.configs.recommended,
26
+ ...pluginVue.configs['flat/recommended'],
27
+ ...vueTsConfig(),
28
+ {
29
+ files: ['scripts/**/*.{js,cjs,mjs}'],
30
+ languageOptions: {
31
+ globals: globals.node,
32
+ },
33
+ },
34
+ // Main TypeScript/Vue files
35
+ {
36
+ files: ['**/*.{ts,vue}'],
37
+ languageOptions: {
38
+ ecmaVersion: 'latest',
39
+ sourceType: 'module',
40
+ globals: {
41
+ ...globals.browser,
42
+ process: 'readonly',
43
+ },
44
+ },
45
+ rules: {
46
+ '@typescript-eslint/no-unused-vars': [
47
+ 'error',
48
+ {
49
+ argsIgnorePattern: '^_',
50
+ varsIgnorePattern: '^_',
51
+ caughtErrorsIgnorePattern: '^_',
52
+ ignoreRestSiblings: true,
53
+ },
54
+ ],
55
+ '@typescript-eslint/explicit-function-return-type': 'off',
56
+ '@typescript-eslint/explicit-module-boundary-types': 'off',
57
+ '@typescript-eslint/no-explicit-any': 'off',
58
+ // Base app ships single-word component files (Home.vue, App.vue) mirroring
59
+ // the React template's page naming; allow them.
60
+ 'vue/multi-word-component-names': 'off',
61
+ },
62
+ },
63
+ // Node scripts (schema fetch, e2e asset rewrite)
64
+ {
65
+ files: ['scripts/**/*.{js,mjs}'],
66
+ languageOptions: {
67
+ globals: {
68
+ ...globals.node,
69
+ },
70
+ },
71
+ },
72
+ // Test files
73
+ {
74
+ files: [
75
+ '**/*.test.{ts,tsx}',
76
+ '**/test/**/*.{ts,tsx}',
77
+ 'src/test/**/*.{ts,tsx}',
78
+ ],
79
+ languageOptions: {
80
+ globals: {
81
+ ...globals.browser,
82
+ ...globals.node,
83
+ global: 'writable',
84
+ },
85
+ },
86
+ rules: {
87
+ '@typescript-eslint/no-explicit-any': 'off',
88
+ },
89
+ },
90
+ ];
91
+
92
+ // Only add GraphQL rules when schema exists (e.g. after graphql:schema).
93
+ // In CI or when schema is not checked in, skip so lint succeeds.
94
+ if (schemaExists) {
95
+ config.push(
96
+ {
97
+ files: ['**/*.{ts,vue}'],
98
+ processor: graphqlPlugin.processor,
99
+ },
100
+ {
101
+ files: ['**/*.graphql'],
102
+ languageOptions: {
103
+ parser: graphqlPlugin.parser,
104
+ parserOptions: {
105
+ graphQLConfig: {
106
+ schema: '../../../../../schema.graphql',
107
+ },
108
+ },
109
+ },
110
+ plugins: {
111
+ '@graphql-eslint': graphqlPlugin,
112
+ },
113
+ rules: {
114
+ '@graphql-eslint/no-anonymous-operations': 'error',
115
+ '@graphql-eslint/no-duplicate-fields': 'error',
116
+ '@graphql-eslint/known-fragment-names': 'error',
117
+ '@graphql-eslint/no-undefined-variables': 'error',
118
+ '@graphql-eslint/no-unused-variables': 'error',
119
+ },
120
+ }
121
+ );
122
+ }
123
+
124
+ export default config;
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <UIBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <masterLabel>feature-vue-language-switcher</masterLabel>
4
+ <description>A Salesforce UI Bundle.</description>
5
+ <isActive>true</isActive>
6
+ <version>1</version>
7
+ </UIBundle>
@@ -0,0 +1,12 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Welcome to Vue App</title>
7
+ </head>
8
+ <body>
9
+ <div id="app"></div>
10
+ <script type="module" src="src/main.ts"></script>
11
+ </body>
12
+ </html>
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "base-vue-app",
3
+ "private": true,
4
+ "version": "1.59.0",
5
+ "type": "module",
6
+ "engines": {
7
+ "node": ">=22"
8
+ },
9
+ "scripts": {
10
+ "dev": "vite",
11
+ "dev:design": "vite --mode design",
12
+ "build": "vue-tsc -b && vite build",
13
+ "build:e2e": "npm run build && node scripts/rewrite-e2e-assets.mjs",
14
+ "lint": "eslint .",
15
+ "preview": "vite preview",
16
+ "test": "vitest",
17
+ "graphql:codegen": "graphql-codegen",
18
+ "graphql:schema": "node scripts/get-graphql-schema.mjs"
19
+ },
20
+ "dependencies": {
21
+ "@lucide/vue": "^1.47.0",
22
+ "@salesforce/platform-sdk": "^13.2.0",
23
+ "@salesforce/ui-bundle": "^13.2.0",
24
+ "@tailwindcss/vite": "^4.1.17",
25
+ "class-variance-authority": "^0.7.1",
26
+ "clsx": "^2.1.1",
27
+ "date-fns": "^4.1.0",
28
+ "reka-ui": "^2.5.0",
29
+ "tailwind-merge": "^3.5.0",
30
+ "tailwindcss": "^4.1.17",
31
+ "tw-animate-css": "^1.4.0",
32
+ "vue": "^3.5.13",
33
+ "vue-router": "^4.5.0",
34
+ "vue-sonner": "^2.0.0"
35
+ },
36
+ "devDependencies": {
37
+ "@eslint/js": "^9.39.1",
38
+ "@graphql-codegen/cli": "^6.1.0",
39
+ "@graphql-codegen/typescript": "^5.0.6",
40
+ "@graphql-codegen/typescript-operations": "^5.0.6",
41
+ "@graphql-eslint/eslint-plugin": "^4.1.0",
42
+ "@graphql-tools/utils": "^12.0.3",
43
+ "@playwright/test": "^1.49.0",
44
+ "@salesforce/graphiti": "^13.2.0",
45
+ "@salesforce/vite-plugin-ui-bundle": "^13.2.0",
46
+ "@testing-library/jest-dom": "^6.6.3",
47
+ "@testing-library/user-event": "^14.5.2",
48
+ "@testing-library/vue": "^8.1.0",
49
+ "@types/node": "^24.10.1",
50
+ "@vitejs/plugin-vue": "^6.0.0",
51
+ "@vitest/ui": "^4.1.0",
52
+ "@vue/eslint-config-typescript": "^14.1.4",
53
+ "@vue/test-utils": "^2.4.6",
54
+ "eslint": "^9.39.1",
55
+ "eslint-plugin-vue": "^9.32.0",
56
+ "globals": "^16.5.0",
57
+ "graphql": "^16.11.0",
58
+ "graphql-codegen-typescript-operation-types": "^2.0.2",
59
+ "jsdom": "^25.0.1",
60
+ "serve": "^14.2.5",
61
+ "typescript": "~5.9.3",
62
+ "typescript-eslint": "^8.71.2",
63
+ "vite": "^7.2.4",
64
+ "vite-plugin-graphql-codegen": "^3.6.3",
65
+ "vitest": "^4.1.0",
66
+ "vue-tsc": "^2.2.0"
67
+ },
68
+ "overrides": {
69
+ "lodash": "^4.18.1",
70
+ "undici": "^8.0.0"
71
+ }
72
+ }
@@ -0,0 +1,24 @@
1
+ import { defineConfig, devices } from '@playwright/test';
2
+
3
+ const E2E_PORT = 5177;
4
+
5
+ export default defineConfig({
6
+ testDir: './e2e',
7
+ fullyParallel: true,
8
+ forbidOnly: !!process.env.CI,
9
+ retries: process.env.CI ? 2 : 0,
10
+ workers: process.env.CI ? 1 : undefined,
11
+ reporter: 'html',
12
+ use: {
13
+ baseURL: `http://localhost:${E2E_PORT}`,
14
+ trace: 'on-first-retry',
15
+ },
16
+ projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }],
17
+ webServer: {
18
+ // Serve built dist/ with static server so e2e works in CI without SF org (vite preview runs plugin and can fail)
19
+ command: `npx serve dist -l ${E2E_PORT}`,
20
+ url: `http://localhost:${E2E_PORT}`,
21
+ reuseExistingServer: !process.env.CI,
22
+ timeout: process.env.CI ? 120_000 : 60_000,
23
+ },
24
+ });
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Downloads the full GraphQL schema from a connected Salesforce org via introspection.
3
+ *
4
+ * Usage:
5
+ * npm run graphql:schema
6
+ * node scripts/get-graphql-schema.mjs [output-path]
7
+ *
8
+ * The default output path matches the schema location expected by codegen.yml
9
+ * and .graphqlrc.yml so that codegen and IDE tooling resolve it automatically.
10
+ */
11
+ import { writeFileSync } from 'node:fs';
12
+ import { resolve } from 'node:path';
13
+ import { getOrgInfo } from '@salesforce/ui-bundle/app';
14
+ import { buildClientSchema, getIntrospectionQuery, printSchema } from 'graphql';
15
+ import { pruneSchema } from '@graphql-tools/utils';
16
+
17
+ const DEFAULT_SCHEMA_PATH = '../../../../../schema.graphql';
18
+ const TARGET_ORG = process.env.SF_TARGET_ORG || undefined;
19
+
20
+ async function executeSalesforceGraphQLQuery(query, variables, operationName) {
21
+ const orgInfo = await getOrgInfo(TARGET_ORG);
22
+ if (!orgInfo) {
23
+ throw new Error(
24
+ 'Could not resolve a Salesforce org. Set SF_TARGET_ORG or a default org.'
25
+ );
26
+ }
27
+ const { rawInstanceUrl: instanceUrl, apiVersion, accessToken } = orgInfo;
28
+
29
+ const targetUrl = `${instanceUrl}/services/data/v${apiVersion}/graphql`;
30
+
31
+ console.log(`Executing introspection query against ${targetUrl}`);
32
+ const response = await fetch(targetUrl, {
33
+ method: 'POST',
34
+ headers: {
35
+ Authorization: `Bearer ${accessToken}`,
36
+ 'Content-Type': 'application/json',
37
+ 'X-Chatter-Entity-Encoding': 'false',
38
+ },
39
+ body: JSON.stringify({ query, variables, operationName }),
40
+ });
41
+
42
+ if (!response.ok) {
43
+ const errorText = await response.text();
44
+ throw new Error(
45
+ `Salesforce GraphQL request failed: ${response.status} ${response.statusText} - ${errorText}`
46
+ );
47
+ }
48
+
49
+ return response.json();
50
+ }
51
+
52
+ try {
53
+ const outputPath = resolve(process.argv[2] || DEFAULT_SCHEMA_PATH);
54
+
55
+ const introspectionResult = await executeSalesforceGraphQLQuery(
56
+ getIntrospectionQuery(),
57
+ {},
58
+ 'IntrospectionQuery'
59
+ );
60
+
61
+ const schema = buildClientSchema(introspectionResult.data);
62
+ const prunedSchema = pruneSchema(schema);
63
+ const sdl = printSchema(prunedSchema);
64
+
65
+ writeFileSync(outputPath, sdl);
66
+
67
+ console.log(`Schema saved to ${outputPath}`);
68
+ } catch (error) {
69
+ console.error('Error:', error.message);
70
+ process.exit(1);
71
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Prepares dist/ for e2e: root-relative asset paths + SPA fallback for serve.
3
+ */
4
+ import { readFileSync, writeFileSync } from 'node:fs';
5
+ import { join, dirname } from 'node:path';
6
+ import { fileURLToPath } from 'node:url';
7
+
8
+ const __dirname = dirname(fileURLToPath(import.meta.url));
9
+ const distDir = join(__dirname, '..', 'dist');
10
+
11
+ // Rewrite index.html so asset paths are root-relative (/assets/...)
12
+ const indexPath = join(distDir, 'index.html');
13
+ let html = readFileSync(indexPath, 'utf8');
14
+ html = html.replace(/(src|href)="[^"]*\/assets\//g, '$1="/assets/');
15
+ writeFileSync(indexPath, html);
16
+
17
+ // SPA fallback so /about, /non-existent-route etc. serve index.html
18
+ writeFileSync(
19
+ join(distDir, 'serve.json'),
20
+ JSON.stringify({
21
+ rewrites: [{ source: '**', destination: '/index.html' }],
22
+ })
23
+ );
@@ -0,0 +1,5 @@
1
+ <script setup lang="ts"></script>
2
+
3
+ <template>
4
+ <RouterView />
5
+ </template>